mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
xen: fix IPXE sourcing
`xl` needs a full path to the efirom executable. This does not fix the qemu-dm issue. A stubdom is still required. Reported-by: HeHongbo <hehongbo@mail.com> Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
parent
1200719b87
commit
e3b83d4525
@ -265,7 +265,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"--with-system-qemu"
|
"--with-system-qemu"
|
||||||
(if withSeaBIOS then "--with-system-seabios=${systemSeaBIOS.firmware}" 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 withOVMF then "--with-system-ovmf=${OVMF.firmware}" else "--disable-ovmf")
|
||||||
(if withIPXE then "--with-system-ipxe=${ipxe}" else "--disable-ipxe")
|
(if withIPXE then "--with-system-ipxe=${ipxe.firmware}" else "--disable-ipxe")
|
||||||
(enableFeature withFlask "xsmpolicy")
|
(enableFeature withFlask "xsmpolicy")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
embedScript ? null,
|
embedScript ? null,
|
||||||
additionalTargets ? { },
|
additionalTargets ? { },
|
||||||
additionalOptions ? [ ],
|
additionalOptions ? [ ],
|
||||||
|
firmwareBinary ? "ipxe.efirom",
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -130,8 +131,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.updateScript = unstableGitUpdater {
|
passthru = {
|
||||||
tagPrefix = "v";
|
firmware = "${finalAttrs.finalPackage}/${firmwareBinary}";
|
||||||
|
updateScript = unstableGitUpdater {
|
||||||
|
tagPrefix = "v";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user