From 073d5de4645b0a186338fe152c4dba2477bbe8e8 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#1100048 Incidentally, this should fix are aych bee zee one zero four three two seven four. --- src/sbin/mkefiboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbin/mkefiboot b/src/sbin/mkefiboot index 2a8c82db..38d85e5a 100755 --- a/src/sbin/mkefiboot +++ b/src/sbin/mkefiboot @@ -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