Is this a new report?
Yes
System Info
Void 6.6.63_1 x86_64 AuthenticAMD uptodate rFF
Package(s) Affected
efibootmgr-18_1, sbsigntool-0.9.4_6
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
The packages should include a configurable hook in /etc/default, that allows a user to set the file path of the /etc/kernel.d script, so that UKIs or non standard vmlinuz paths can be affected by these hooks. The file /efi/EFI/BOOT/void/Linux-${VERSION} should be just as affected as the default /boot/vmlinuz-${VERSION}
Actual behaviour
Due to the hardcoded nature of the file paths, only /vmlinuz-${VERSION} is affected by these scripts.
Steps to reproduce
- Install dracut-uefi and the affected packages (efibootmgr-18_1, sbsigntool-0.9.4_6)
- configure the packages using /etc/default to your liking
- run xbps-reconfigure -fa
- Notice that the UKI neither gets registered by efibootmgr, nor gets signed by sbsigntool