ipxe: fix installPhase and license
This commit is contained in:
parent
a14985cd28
commit
2668c75886
1 changed files with 5 additions and 1 deletions
|
@ -72,6 +72,8 @@ stdenv.mkDerivation rec {
|
||||||
buildFlags = lib.attrNames targets;
|
buildFlags = lib.attrNames targets;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
${lib.concatStringsSep "\n" (lib.mapAttrsToList (from: to:
|
${lib.concatStringsSep "\n" (lib.mapAttrsToList (from: to:
|
||||||
if to == null
|
if to == null
|
||||||
|
@ -81,6 +83,8 @@ stdenv.mkDerivation rec {
|
||||||
# Some PXE constellations especially with dnsmasq are looking for the file with .0 ending
|
# Some PXE constellations especially with dnsmasq are looking for the file with .0 ending
|
||||||
# let's provide it as a symlink to be compatible in this case.
|
# let's provide it as a symlink to be compatible in this case.
|
||||||
ln -s undionly.kpxe $out/undionly.kpxe.0
|
ln -s undionly.kpxe $out/undionly.kpxe.0
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -88,7 +92,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib;
|
meta = with lib;
|
||||||
{ description = "Network boot firmware";
|
{ description = "Network boot firmware";
|
||||||
homepage = "https://ipxe.org/";
|
homepage = "https://ipxe.org/";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Only;
|
||||||
maintainers = with maintainers; [ ehmry ];
|
maintainers = with maintainers; [ ehmry ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue