calamares/src/modules/bootloader
Kevin Kofler ec7c5a4611 [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.)
2019-05-12 16:11:35 +02:00
..
bootloader.conf [modules] Minor documentation work on modules a-g 2018-06-26 05:47:23 -04:00
main.py [bootloader] Fix sb-shim mode to write grub.cfg into the ESP 2019-05-12 16:11:35 +02:00
module.desc [bootloader] Requires partition before it. 2019-03-11 17:07:05 -04:00
test.yaml bootloader/test.yaml: Define the shortProductName. 2014-11-16 15:05:00 +01:00