[Bug 1625200] Re: Permit to define bootloader_id in grub configuration
mirak
1625200 at bugs.launchpad.net
Mon May 24 00:15:11 UTC 2021
When you run grub-install it creates /boot/grub/x86_64-efi/grubx64.efi
that references /boot/grub/grub.cfg
The problem then is that instead of copying this one to
/EFI/$GRUB_DISTRIBUTOR/grubx64.efi, it copies
/usr/lib/grub/x86_64-efi/monolithic/grubx64.efi or /usr/lib/grub/x86_64
-efi-signed/grubx64.efi.signed .
They are prebuilt binaries in the deb packages and reference
/EFI/ubuntu/grub.cfg .
I understand that it's necessary if you want to have a signed
grubx64.efi, but we should be able to have correct implementation if we
don't care about secure boot.
I can find a setting that say which grubx64.efi to take.
Maybe it's handleded by alternatives, I will check that.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1625200
Title:
Permit to define bootloader_id in grub configuration
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
Hello,
For a derivative we want to set GRUB_DISTRIBUTOR, unfortunately, when
building -alternate images, shim-signed and grub-efi-amd64-signed are
installed by default.
I think a proper fix for #1242417 could be to set bootloader_id from a
new variable like GRUB_EFI_DISTRIBUTOR.
This way we could define GRUB_DISTRIBUTOR='FOO' and
GRUB_EFI_DISTRIBUTOR='ubuntu'.
Regards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1625200/+subscriptions
More information about the foundations-bugs
mailing list