8 Sep
2025
8 Sep
'25
10:10 a.m.
On Mon, 8 Sep 2025 15:33:09 +0800
Yumei Huang
Fix the following error when running `make assets` under test on non-ARM platforms:
./find-arm64-firmware.sh QEMU_EFI.fd Couldn't find QEMU_EFI.fd make: *** [Makefile:68: QEMU_EFI.fd] Error 1
Hmm, wait, this is needed to run ARM guests, but not necessarily on ARM. The test/distro tests (currently skipped) can use QEMU TCG to run ARM guests on (kind of) any host architecture, and actually the only usage I've ever made of find-arm64-firmware.sh is on x86_64. It still works for me there. On Fedora and related, you need to install the edk2-aarch64 package, and it's qemu-efi-aarch64 on Debian and Debian-based distributions. -- Stefano