From a05348ee9f1124535dcc320c31ce7278b19dff2e Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 7 Oct 2014 10:44:32 -0400 Subject: [PATCH] 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 --- src/sbin/mkefiboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbin/mkefiboot b/src/sbin/mkefiboot index 1557212f..de047045 100755 --- a/src/sbin/mkefiboot +++ b/src/sbin/mkefiboot @@ -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