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#1043274
Related: rhbz#1100048
This commit is contained in:
parent
807cc8996e
commit
a05348ee9f
@ -58,7 +58,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