forked from mirrors/nixpkgs
ipxe: enable parallel building; allow embed script
This commit is contained in:
parent
ad78e52357
commit
dbdb2f0eed
|
@ -1,4 +1,6 @@
|
||||||
{ stdenv, fetchgit, perl, cdrkit, syslinux, xz, openssl }:
|
{ stdenv, lib, fetchgit, perl, cdrkit, syslinux, xz, openssl
|
||||||
|
, embedScript ? null
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
date = "20170922";
|
date = "20170922";
|
||||||
|
@ -24,7 +26,7 @@ stdenv.mkDerivation {
|
||||||
makeFlags =
|
makeFlags =
|
||||||
[ "ECHO_E_BIN_ECHO=echo" "ECHO_E_BIN_ECHO_E=echo" # No /bin/echo here.
|
[ "ECHO_E_BIN_ECHO=echo" "ECHO_E_BIN_ECHO_E=echo" # No /bin/echo here.
|
||||||
"ISOLINUX_BIN_LIST=${syslinux}/share/syslinux/isolinux.bin"
|
"ISOLINUX_BIN_LIST=${syslinux}/share/syslinux/isolinux.bin"
|
||||||
];
|
] ++ lib.optional (embedScript != null) "EMBED=${embedScript}";
|
||||||
|
|
||||||
|
|
||||||
enabledOptions = [ "DOWNLOAD_PROTO_HTTPS" ];
|
enabledOptions = [ "DOWNLOAD_PROTO_HTTPS" ];
|
||||||
|
@ -46,6 +48,8 @@ stdenv.mkDerivation {
|
||||||
ln -s undionly.kpxe $out/undionly.kpxe.0
|
ln -s undionly.kpxe $out/undionly.kpxe.0
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib;
|
meta = with stdenv.lib;
|
||||||
{ description = "Network boot firmware";
|
{ description = "Network boot firmware";
|
||||||
homepage = http://ipxe.org/;
|
homepage = http://ipxe.org/;
|
||||||
|
|
Loading…
Reference in a new issue