Skip to content

Commit

Permalink
xen: use the merged OVMF blob
Browse files Browse the repository at this point in the history
Fixes #373416

Signed-off-by: Fernando Rodrigues <[email protected]>
  • Loading branch information
SigmaSquadron committed Jan 13, 2025
1 parent 4efb8f0 commit d0c126c
Showing 1 changed file with 28 additions and 25 deletions.
53 changes: 28 additions & 25 deletions pkgs/build-support/xen/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,37 +141,40 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
python3Packages.setuptools
];
buildInputs = [
# Xen
acpica-tools
bzip2
dev86
e2fsprogs.dev
libnl
libuuid
lzo
ncurses
perl
python3Packages.python
xz
yajl
zlib
zstd

# oxenstored
ocamlPackages.findlib
ocamlPackages.ocaml

# Python Fixes
python3Packages.wrapPython
] ++ optional withFlask checkpolicy ++ optional (versionOlder version "4.19") systemdMinimal;
buildInputs =
[
# Xen
acpica-tools
bzip2
dev86
e2fsprogs.dev
libnl
libuuid
lzo
ncurses
perl
python3Packages.python
xz
yajl
zlib
zstd

# oxenstored
ocamlPackages.findlib
ocamlPackages.ocaml

# Python Fixes
python3Packages.wrapPython
]
++ optional withFlask checkpolicy
++ optional (versionOlder version "4.19") systemdMinimal;

configureFlags = [
"--enable-systemd"
"--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")
];
Expand Down

0 comments on commit d0c126c

Please sign in to comment.