1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-08 14:10:38 +02:00
Files
guix/gnu
Roman Scherer e320469cf0 gnu: ovmf-aarch64: Pad firmware to 64 MiB for QEMU compatibility.
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>
2026-03-15 14:49:06 +02:00
..
2026-03-11 18:27:46 +01:00
2026-03-14 21:51:16 +01:00