OVMF: add passthru.mergedFirmware parameter; xen: use the merged OVMF blob (#373560)

This commit is contained in:
Adam C. Stephens
2025-01-23 09:28:26 -05:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -253,6 +253,7 @@ edk2.mkDerivation projectDscPath (finalAttrs: {
prefix = "${finalAttrs.finalPackage.fd}/FV/${fwPrefix}";
in
{
mergedFirmware = "${prefix}.fd";
firmware = "${prefix}_CODE.fd";
variables = "${prefix}_VARS.fd";
variablesMs =
+1 -1
View File
@@ -171,7 +171,7 @@ stdenv.mkDerivation (finalAttrs: {
"--disable-qemu-traditional"
"--with-system-qemu"
(if withSeaBIOS then "--with-system-seabios=${systemSeaBIOS.firmware}" else "--disable-seabios")
(if withOVMF then "--with-system-ovmf=${OVMF.firmware}" else "--disable-ovmf")
(if withOVMF then "--with-system-ovmf=${OVMF.mergedFirmware}" else "--disable-ovmf")
(if withIPXE then "--with-system-ipxe=${ipxe.firmware}" else "--disable-ipxe")
(enableFeature withFlask "xsmpolicy")
];