Merge pull request #217 from codeworkx/master

Fixes for grub efi
main
Teo Mrnjavac 10 years ago
commit e4fde03f77

@ -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,

@ -14,7 +14,6 @@ extraMounts:
mountPoint: /run
extraMountsEfi:
- device: /sys/firmware/efi
mountPoint: /sys/firmware/efi
options: bind
- device: efivarfs
fs: efivarfs
mountPoint: /sys/firmware/efi/efivars

Loading…
Cancel
Save