Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gummiboot: split *.efi.stub into subpackage #31878

Merged
merged 2 commits into from Jul 14, 2021
Merged

gummiboot: split *.efi.stub into subpackage #31878

merged 2 commits into from Jul 14, 2021

Conversation

jirutka
Copy link
Contributor

@jirutka jirutka commented Jul 10, 2021

dracut-uefi and mkinitcpio (since upcoming v31) needs UEFI stub from gummiboot (or systemd, which is the same; systemd has absorbed gummiboot) to bundle Linux kernel and initramdisk into a UEFI executable - and only the stub, not gummiboot bootloader itself, nor any hooks.

Have the results of the proposed changes been tested?

  • I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
  • I generally don't use the affected packages but briefly tested this PR

@ericonr
Copy link
Member

ericonr commented Jul 12, 2021

Why would someone not want the full package?

And if we want to merge this PR, it should also include a fix to dracut-uefi to depend on the new subpackage.

@jirutka
Copy link
Contributor Author

jirutka commented Jul 12, 2021

Why would someone not want the full package?

Because you don’t need any bootloader to boot Linux from UEFI. However, to fully utilize SecureBoot, it’s needed to bundle Linux kernel and initramdisk into a single UEFI executable; there’s where *.efi.stub file from the gummiboot package is needed (and only the efi stub, not the gummiboot bootloader).

And if we want to merge this PR, it should also include a fix to dracut-uefi to depend on the new subpackage.

Yeah, you’re right, I’m gonna added it now.

@jirutka
Copy link
Contributor Author

jirutka commented Jul 12, 2021

Pushed and I also updated the commit/PR description to make it more clear.

Copy link
Member

@ericonr ericonr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise, thanks

srcpkgs/gummiboot/template Outdated Show resolved Hide resolved
dracut-uefi and mkinitcpio (since upcoming v31) needs UEFI stub from
gummiboot (or systemd, which is the same; systemd has absorbed
gummiboot) to bundle Linux kernel and initramdisk into a UEFI executable
- and only the stub, not gummiboot bootloader itself, nor any hooks.
dracut-uefi needs only UEFI stub file from gummiboot.
@ericonr ericonr merged commit 09a8755 into void-linux:master Jul 14, 2021
@jirutka jirutka deleted the gummiboot-efistub branch July 14, 2021 15:00
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants