Skip to content

fix(kernel-install): support grub layout#492

Open
Deftera186 wants to merge 3 commits intoFoxboron:masterfrom
Deftera186:fix/kernel-install-grub-layout
Open

fix(kernel-install): support grub layout#492
Deftera186 wants to merge 3 commits intoFoxboron:masterfrom
Deftera186:fix/kernel-install-grub-layout

Conversation

@Deftera186
Copy link

Hi, I have added an elif branch for layout=grub that uses $KERNEL_IMAGE, which points to the actual kernel image. Tested it on Gentoo and the kernel now emerges successfully.

Fixes #491

@Deftera186 Deftera186 requested a review from Foxboron February 11, 2026 22:17
For layout=grub, $KERNEL_IMAGE ($4) points to the source kernel
(e.g. /lib/modules/.../vmlinuz -> build tree bzImage), not the copy
that 90-compat.install places at /boot/kernel-<version>. Sign the
installed copy that GRUB actually boots from.
@l0rdg3x
Copy link

l0rdg3x commented Mar 2, 2026

Hi.
The patch works without any problems.
I had to apply it manually in my installation script.
+1 for merge this pull request.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

91-sbctl.install fails with layout=grub -- tries to sign a non-existent BLS path

3 participants