Look for "BOOT${efiarch}.EFI" in mkefiboot as well.
The aarch64 change to use shim (6907567
) also stopped using mixed-case
names for BOOT${efiarch}.efi (so it's always .EFI and ${efiarch} is X64
IA32 AA64 etc. now), and mkefiboot needs to match that.
Related: rhbz#1100048
Incidentally, this should fix are aych bee zee one zero four three two
seven four.
This commit is contained in:
parent
1f56b27082
commit
073d5de464
@ -57,7 +57,7 @@ def macmunge(imgfile, product):
|
||||
# Get the inode number for the boot image and its parent directory
|
||||
with LoopDev(imgfile) as loopdev:
|
||||
with Mount(loopdev) as mnt:
|
||||
shim = glob.glob(os.path.join(mnt, 'EFI/BOOT/BOOT*.efi'))[0]
|
||||
shim = glob.glob(os.path.join(mnt, 'EFI/BOOT/BOOT*.EFI'))[0]
|
||||
loader = glob.glob(os.path.join(mnt,'EFI/BOOT/grub*.efi'))[0]
|
||||
config = glob.glob(os.path.join(mnt,'EFI/*/grub*.cfg'))[0]
|
||||
blessnode = os.stat(loader).st_ino
|
||||
|
Loading…
Reference in New Issue
Block a user