diff --git a/src/modules/bootloader/main.py b/src/modules/bootloader/main.py index 40e9f1613..9d705adfc 100644 --- a/src/modules/bootloader/main.py +++ b/src/modules/bootloader/main.py @@ -7,7 +7,7 @@ # Copyright 2014, Anke Boersma # Copyright 2014, Daniel Hillenbrand # Copyright 2014, Benjamin Vaudour -# Copyright 2014, Kevin Kofler +# Copyright 2014-2019, Kevin Kofler # Copyright 2015-2018, Philip Mueller # Copyright 2016-2017, Teo Mrnjavac # Copyright 2017, Alf Gaida @@ -339,8 +339,8 @@ def install_grub(efi_directory, fw_type): "--force", boot_loader["installPath"]]) - # The file specified in grubCfg should already be filled out - # by the grubcfg job module. + # The input file /etc/default/grub should already be filled out by the + # grubcfg job module. check_target_env_call([libcalamares.job.configuration["grubMkconfig"], "-o", libcalamares.job.configuration["grubCfg"]]) @@ -395,6 +395,12 @@ def install_secureboot(efi_directory): "-p", efi_partition_number, "-l", install_efi_directory + "/" + install_efi_bin]) + # The input file /etc/default/grub should already be filled out by the + # grubcfg job module. + check_target_env_call([libcalamares.job.configuration["grubMkconfig"], + "-o", os.path.join(efi_directory, "EFI", + efi_bootloader_id, "grub.cfg")]) + def vfat_correct_case(parent, name): for candidate in os.listdir(parent):