File tree Expand file tree Collapse file tree
pkgs/applications/virtualization/OVMF Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,14 +38,13 @@ edk2.mkDerivation projectDscPath {
3838
3939 postFixup = if stdenv . isAarch64 then ''
4040 mkdir -vp $fd/FV
41- mkdir -vp $fd/AAVMF
4241 mv -v $out/FV/QEMU_{EFI,VARS}.fd $fd/FV
4342
44- # Uses Fedora dir layout: https://src.fedoraproject .org/cgit/rpms/ edk2.git/tree/edk2.spec
45- # FIXME: why is it different from Debian dir layout? https://salsa.debian .org/qemu-team/ edk2/blob/debian/debian/rules
46- dd of=$fd/AAVMF/QEMU_EFI-pflash.raw if=/dev/zero bs=1M count=64
47- dd of=$fd/AAVMF/QEMU_EFI-pflash.raw if=$fd/FV/QEMU_EFI.fd conv=notrunc
48- dd of=$fd/AAVMF/vars-template-pflash.raw if=/dev/zero bs=1M count=64
43+ # Use Debian dir layout: https://salsa.debian .org/qemu-team/ edk2/blob/debian/debian/rules
44+ # Note that Fedora dir layout is different: https://src.fedoraproject .org/cgit/rpms/ edk2.git/tree/edk2.spec
45+ dd of=$fd/FV/AAVMF_CODE.fd if=/dev/zero bs=1M count=64
46+ dd of=$fd/FV/AAVMF_CODE.fd if=$fd/FV/QEMU_EFI.fd conv=notrunc
47+ dd of=$fd/FV/AAVMF_VARS.fd if=/dev/zero bs=1M count=64
4948 '' else ''
5049 mkdir -vp $fd/FV
5150 mv -v $out/FV/OVMF{,_CODE,_VARS}.fd $fd/FV
You can’t perform that action at this time.
0 commit comments