mirror of https://github.com/cutefishos/calamares
[bootloader] Fix sb-shim mode to write grub.cfg into the ESP
src/modules/bootloader/main.py (install_secureboot): Run the configured grubMkconfig command (should be `grub-mkconfig` or `grub2-mkconfig`) to create `/boot/efi/EFI/$efi_bootloader_id/grub.cfg`. The sb-shim is just a chainloader to GRUB 2, which expects a grub.cfg in that location, so something has to create it or the installed system will not boot beyond the GRUB rescue shell. (install_grub): Fix misleading comment above the grubMkconfig call: it is not the file specified in grubCfg that should be already filled out by the grubcfg job module, that file is written by `grub*-mkconfig` using `/etc/default/grub` as the input file. It is that input file `/etc/default/grub` that should already be filled out by the grubcfg job module. (The same input file is used in install_secureboot.)main
parent
ec15cfb58d
commit
ec7c5a4611
Loading…
Reference in New Issue