OVMF: add passthru.mergedFirmware parameter; xen: use the merged OVMF blob (#373560)
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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")
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user