bootloader: add --force argument for grub efi
This commit is contained in:
parent
b7bb84bc2e
commit
8612f427f1
@ -180,7 +180,8 @@ def install_grub(efi_directory, fw_type):
|
|||||||
check_chroot_call(
|
check_chroot_call(
|
||||||
[libcalamares.job.configuration["grubInstall"], "--target=x86_64-efi",
|
[libcalamares.job.configuration["grubInstall"], "--target=x86_64-efi",
|
||||||
"--efi-directory={!s}".format(efi_directory),
|
"--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
|
# Workaround for some UEFI firmwares
|
||||||
check_chroot_call(["mkdir", "-p", "{!s}/boot".format(efi_directory_firmware)])
|
check_chroot_call(["mkdir", "-p", "{!s}/boot".format(efi_directory_firmware)])
|
||||||
check_chroot_call(["cp", "{!s}/{!s}/grubx64.efi".format(efi_directory_firmware,
|
check_chroot_call(["cp", "{!s}/{!s}/grubx64.efi".format(efi_directory_firmware,
|
||||||
|
Loading…
Reference in New Issue
Block a user