ovmf: fixup seabios location
Since it is now on `${seabios}/share/seabios`.
This commit is contained in:
parent
ba3dcb9dc5
commit
d5c17b3c47
1 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, nixosTests, lib, edk2, util-linux, nasm, acpica-tools, llvmPackages
|
||||
, csmSupport ? false, seabios ? null
|
||||
, csmSupport ? false, seabios
|
||||
, fdSize2MB ? csmSupport
|
||||
, fdSize4MB ? false
|
||||
, secureBoot ? false
|
||||
|
@ -12,8 +12,6 @@
|
|||
, sourceDebug ? false
|
||||
}:
|
||||
|
||||
assert csmSupport -> seabios != null;
|
||||
|
||||
let
|
||||
|
||||
projectDscPath = if stdenv.isi686 then
|
||||
|
@ -68,7 +66,7 @@ edk2.mkDerivation projectDscPath (finalAttrs: {
|
|||
env.PYTHON_COMMAND = "python3";
|
||||
|
||||
postPatch = lib.optionalString csmSupport ''
|
||||
cp ${seabios}/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin
|
||||
cp ${seabios}/share/seabios/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin
|
||||
'';
|
||||
|
||||
postFixup = (
|
||||
|
|
Loading…
Reference in a new issue