-
Notifications
You must be signed in to change notification settings - Fork 152
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
Fedora UEFI Live images (re)create boot entry #2008
Comments
I've tried to figure out how lorax (the thing that produces Fedora images) is handling this and it seems that https://github.com/weldr/lorax/blob/fa2e465d51039e6172e5118c432b715316a70a48/share/templates.d/99-generic/live/efi.tmpl is relevant piece of code there. Also from other places, it seems it just packs EFI/BOOT only, not anything else in the EFI folder. |
@schaefi ^^ as we were briefly touching this topic on the Matrix. |
Thanks for the details. You are right kiwi does differentiate the vendor setup for grub between a live image and any other type of image. We can change this. I wonder about the contents of I think @Conan-Kudo wrote a good junk of all the live CD tools for Fedora, so he also should know what kiwi needs to do differently Thanks |
Most of the stuff that's been done with the bootloader stuff in the past few years in Fedora have been done by @martinezjavier. |
Problem description
Building Fedora image with following image type/bootloader, every time I boot it on a real system, it (re)creates a boot entry in EFI leading to very useless entries in the UEFI.
I believe shim invokes fallback as described here https://github.com/rhboot/shim/blob/main/README.fallback.
If I understand the documentation correctly, Live systems are not supposed to have /boot/fedora at all and use /boot/EFI only but that's not what kiwi is producing.
For comparison, official Fedora Live image has:
while what kiwi is producing:
Expected behaviour
No entries are added on boot.
Steps to reproduce the behaviour
Build Fedora (35) image in Live ISO mode with UEFI support (as described in the kiwi-descriptions repo, just modify slightly). Then boot it on a real laptop (possibly with secure boot enabled?).
OS and Software information
The text was updated successfully, but these errors were encountered: