bootloader: add --force argument for grub efi

This commit is contained in:
Daniel Hillenbrand 2015-05-01 10:11:32 +02:00
parent b7bb84bc2e
commit 8612f427f1

View File

@ -180,7 +180,8 @@ def install_grub(efi_directory, fw_type):
check_chroot_call(
[libcalamares.job.configuration["grubInstall"], "--target=x86_64-efi",
"--efi-directory={!s}".format(efi_directory),
"--bootloader-id={!s}".format(efi_bootloader_id)])
"--bootloader-id={!s}".format(efi_bootloader_id),
"--force"])
# Workaround for some UEFI firmwares
check_chroot_call(["mkdir", "-p", "{!s}/boot".format(efi_directory_firmware)])
check_chroot_call(["cp", "{!s}/{!s}/grubx64.efi".format(efi_directory_firmware,