Skip to content

Commit 37b9208

Browse files
OVMF: add passthru.mergedFirmware parameter; xen: use the merged OVMF blob (NixOS#373560)
2 parents 010f694 + a35e5e5 commit 37b9208

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkgs/applications/virtualization/OVMF/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ edk2.mkDerivation projectDscPath (finalAttrs: {
253253
prefix = "${finalAttrs.finalPackage.fd}/FV/${fwPrefix}";
254254
in
255255
{
256+
mergedFirmware = "${prefix}.fd";
256257
firmware = "${prefix}_CODE.fd";
257258
variables = "${prefix}_VARS.fd";
258259
variablesMs =

pkgs/build-support/xen/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ stdenv.mkDerivation (finalAttrs: {
171171
"--disable-qemu-traditional"
172172
"--with-system-qemu"
173173
(if withSeaBIOS then "--with-system-seabios=${systemSeaBIOS.firmware}" else "--disable-seabios")
174-
(if withOVMF then "--with-system-ovmf=${OVMF.firmware}" else "--disable-ovmf")
174+
(if withOVMF then "--with-system-ovmf=${OVMF.mergedFirmware}" else "--disable-ovmf")
175175
(if withIPXE then "--with-system-ipxe=${ipxe.firmware}" else "--disable-ipxe")
176176
(enableFeature withFlask "xsmpolicy")
177177
];

0 commit comments

Comments
 (0)