From d175e8881769629fde11bf988fbc84e54596f962 Mon Sep 17 00:00:00 2001 From: Fernando Rodrigues Date: Fri, 18 Oct 2024 02:48:11 +0000 Subject: [PATCH] xen: switch to seabios-qemu, use absolute path to firmware Related: #342692 Signed-off-by: Fernando Rodrigues --- pkgs/build-support/xen/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/xen/default.nix b/pkgs/build-support/xen/default.nix index 6dc8e38d92953..9964f0386f6e1 100644 --- a/pkgs/build-support/xen/default.nix +++ b/pkgs/build-support/xen/default.nix @@ -30,7 +30,8 @@ zstd, # Optional Components - seabios, + seabios-qemu, + systemSeaBIOS ? seabios-qemu, OVMF, ipxe, checkpolicy, @@ -261,7 +262,7 @@ stdenv.mkDerivation (finalAttrs: { "--enable-systemd" "--disable-qemu-traditional" "--with-system-qemu" - (if withSeaBIOS then "--with-system-seabios=${seabios}/share/seabios" else "--disable-seabios") + (if withSeaBIOS then "--with-system-seabios=${systemSeaBIOS.firmware}" else "--disable-seabios") (if withOVMF then "--with-system-ovmf=${OVMF.firmware}" else "--disable-ovmf") (if withIPXE then "--with-system-ipxe=${ipxe}" else "--disable-ipxe") (enableFeature withFlask "xsmpolicy")