[PR #35] [MERGED] Arch packages: ship the dracut drop-in too #90

Closed
opened 2026-10-31 06:56:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/35
Author: @d4mer
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @JustAResearcher

Base: main ← Head: arch-dracut


📝 Commits (1)

  • 07d773a Ship the dracut drop-in in the Arch packages too

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packaging/arch/PKGBUILD (+1 -1)

📄 Description

Summary

The dkms package installs the mkinitcpio drop-in but not the dracut one, so on dracut-based Arch systems (Garuda among them) gpu_unlock is absent from the initramfs and the unlock silently never runs — the module never loads ahead of NVIDIA.

The Makefile already provides install-dracut and the RPM spec already uses it; this wires it into the Arch PKGBUILD the same way. The drop-in is the standard force_drivers+=" gpu_unlock " in /usr/lib/dracut/dracut.conf.d/gpu-unlock.conf.

Verified live

On a Garuda host with dracut 111 (no mkinitcpio), installing the package with this change put gpu_unlock.ko and all nine firmware assets into both dracut images with rd.driver.pre=gpu_unlock, and the module then completed the 2803 transaction on every boot (cold and warm). This is the packaging half of #5's fix, which was applied to the Debian package but not backported here.

Related: #5.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JustAResearcher/gpu-unlock-ada/pull/35 **Author:** [@d4mer](https://github.com/d4mer) **Created:** 10/25/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@JustAResearcher](https://github.com/JustAResearcher) **Base:** `main` ← **Head:** `arch-dracut` --- ### 📝 Commits (1) - [`07d773a`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/07d773a2e4e0fa7715fb768812cfe8115fd14fad) Ship the dracut drop-in in the Arch packages too ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packaging/arch/PKGBUILD` (+1 -1) </details> ### 📄 Description ## Summary The dkms package installs the mkinitcpio drop-in but not the dracut one, so on dracut-based Arch systems (Garuda among them) `gpu_unlock` is absent from the initramfs and the unlock silently never runs — the module never loads ahead of NVIDIA. The Makefile already provides `install-dracut` and the RPM spec already uses it; this wires it into the Arch PKGBUILD the same way. The drop-in is the standard `force_drivers+=" gpu_unlock "` in `/usr/lib/dracut/dracut.conf.d/gpu-unlock.conf`. ## Verified live On a Garuda host with dracut 111 (no mkinitcpio), installing the package with this change put `gpu_unlock.ko` and all nine firmware assets into both dracut images with `rd.driver.pre=gpu_unlock`, and the module then completed the 2803 transaction on every boot (cold and warm). This is the packaging half of #5's fix, which was applied to the Debian package but not backported here. Related: #5. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 06:56:18 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JustAResearcher/gpu-unlock-ada#90
No description provided.