Fixing the doublePatchelf in initrd; it should be for all ARM.
This commit is contained in:
parent
d1a9ccbaf4
commit
9e63011176
@ -149,7 +149,7 @@ let
|
|||||||
extraUtils = pkgs.runCommand "extra-utils"
|
extraUtils = pkgs.runCommand "extra-utils"
|
||||||
{ buildInputs = [pkgs.nukeReferences];
|
{ buildInputs = [pkgs.nukeReferences];
|
||||||
allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd
|
allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd
|
||||||
doublePatchelf = (pkgs.stdenv.system == "armv5tel-linux");
|
doublePatchelf = pkgs.stdenv.isArm;
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
mkdir -p $out/bin $out/lib
|
mkdir -p $out/bin $out/lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user