Fix EFI install options for GRUB

This commit is contained in:
Fierelier 2023-08-22 15:12:51 +02:00
parent b7d70892bf
commit 8afb5390c8

View File

@ -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")])