2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-07-14 09:50:47 +00:00

Fall back to x64 if the aarch64 location didn't pan out

This commit is contained in:
Jarrod Johnson
2026-07-13 10:01:04 -04:00
parent 678bd53857
commit 7622145fea
+1
View File
@@ -1488,6 +1488,7 @@ def gather_bootloader(outdir, rootpath='/'):
shimlocation = os.path.join(rootpath, 'boot/efi/EFI/BOOT/BOOTAA64.EFI')
shimdestfilename = os.path.basename(shimlocation)
if not os.path.exists(shimlocation):
shimdestfilename = 'BOOTX64.EFI'
shimlocation = os.path.join(rootpath, 'usr/lib64/efi/shim.efi')
if not os.path.exists(shimlocation):
shimlocation = os.path.join(rootpath, 'usr/lib/shim/shimx64.efi.signed')