mirror of
https://github.com/nlzy/turing-unlock.git
synced 2026-12-03 19:52:43 +07:00
[PR #7] [MERGED] Fix mkinitcpio drop-in: module never loads with the systemd hook #22
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nlzy/turing-unlock#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nlzy/turing-unlock/pull/7
Author: @coolio986
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @nlzy
Base:
main← Head:fix-mkinitcpio-optional-marker📝 Commits (1)
08e02c1Fix mkinitcpio drop-in: drop optional marker from turing_unlock📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
packaging/boot/mkinitcpio.conf(+2 -2)📄 Description
Problem
packaging/boot/mkinitcpio.confaddsturing_unlock?toMODULES. With thesystemdhook, mkinitcpio also writesMODULESto/etc/modules-load.d/MODULES.confin the image without stripping the?. At boot:The module is in the initramfs but never loads, so
turing_unlock.targets=has no effect and nothing is logged by the module.Fix
Use the plain name
turing_unlockin both places. Tradeoff: if DKMS fails to build the module for a kernel, the initramfs build now errors instead of silently skipping it.Tested
CachyOS x86_64, kernel 7.2.10-1-cachyos, mkinitcpio with the
systemdhook, two RTX 2080 Ti 22GB (10de:1e04, subsystem1458:37c4).turing_unlocklog lines, module not loaded.TU102 FEAT UNLOCKEDandInserted module 'turing_unlock'in the journal for both cards.Not tested with the
sd-encryptor non-systemd (busybox) mkinitcpio hooks.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.