mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-08 14:10:38 +02:00
QEMU's virt machine on AArch64 requires pflash devices to be exactly 64 MiB. The raw QEMU_EFI.fd produced by EDK2 is only ~2 MiB, causing GRUB EFI tests to fail with: cfi.pflash01 device requires 67108864 bytes, pflash0 block backend provides 2097152 bytes Pad the firmware file to match, as Nix does. * gnu/packages/firmware.scm (ovmf-aarch64)[arguments]: Pad ovmf_aarch64.bin to 64 MiB with truncate-file. Change-Id: I589325294f264b0af69a9a0261c35d9a862e03c5 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>