Fix EFI install options for GRUB

This commit is contained in:
Fierelier 2023-08-22 15:12:51 +02:00
parent 2d76d6334e
commit 2c1623bbe9
1 changed files with 1 additions and 1 deletions

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