Fix EFI install options for GRUB
This commit is contained in:
parent
b7d70892bf
commit
8afb5390c8
@ -426,7 +426,7 @@ def main():
|
||||
if grubVersion in ["i386","both"]: grubTargets.append("i386-efi")
|
||||
if grubVersion in ["x86_64","both"]: grubTargets.append("x86_64-efi")
|
||||
for target in grubTargets:
|
||||
chroot(ipth(),["grub-install","--target=" +target,"--uefi-secure-boot","--efi-directory=/boot/efi","--boot-directory=/boot","--force-extra-removable","--no-nvram",grubDisk])
|
||||
chroot(ipth(),["grub-install","--target=" +target,"--bootloader-id=GRUB","--efi-directory=/boot/efi","--boot-directory=/boot","--force-extra-removable",grubDisk])
|
||||
|
||||
print("Unmounting ESP ...")
|
||||
call(["umount","-l",ipth("boot/efi")])
|
||||
|
Loading…
Reference in New Issue
Block a user