*** Description of problem: The spec file says make 'DEFAULT_LOADER=\\\\grubx64.efi' ${MAKEFLAGS} shim.efi MokManager.efi fallback.efi for which reason shim tries to load "grubx64.efi", which is not correct on aarch64. Found while testing PXE booting. *** Version-Release number of selected component (if applicable): since shim-0.5-1 *** How reproducible: 100% *** Steps to Reproduce: 1. Configure PXE boot on an aarch64 client system (can be a physical host, a virtualized KVM guest, or an emulated QEMU guest too). The boot file name returned by dhcpd or dnsmasq should be "shim.efi", as the various installation guides explain. 2. put grubaa64.efi beside shim.efi in the TFTP directory 3. initiate PXE boot *** Actual results: The shim.efi binary is loaded and executed. Then shim.efi tries to load grubx64.efi instead of grubaa64.efi, and fails. *** Expected results: shim should search for the grub binary under the architecture-matching name (grubaa64.efi)
Other way to reproduce: boot RC5 installer: Shell> fs0:\EFI\BOOT\BOOTAA64.EFI Failed to open \EFI\BOOT\grubx64.efi - Not Found Failed to load image \EFI\BOOT\grubx64.efi: Not Found