* By default, build a dynamically linked Busybox. In the initrd we
need Glibc anyway, so there is no point in static linking. This saves about a megabyte from the initrd. svn path=/nixpkgs/trunk/; revision=34197
This commit is contained in:
parent
3724758a96
commit
1a22e9761d
@ -30,9 +30,9 @@ let
|
|||||||
CONFIG_INSTALL_NO_USR y
|
CONFIG_INSTALL_NO_USR y
|
||||||
'';
|
'';
|
||||||
|
|
||||||
staticConfig = (if enableStatic then ''
|
staticConfig = stdenv.lib.optionalString enableStatic ''
|
||||||
CONFIG_STATIC y
|
CONFIG_STATIC y
|
||||||
'' else "");
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
@ -65,6 +65,8 @@ stdenv.mkDerivation rec {
|
|||||||
'' else "");
|
'' else "");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tiny versions of common UNIX utilities in a single small executable";
|
description = "Tiny versions of common UNIX utilities in a single small executable";
|
||||||
homepage = http://busybox.net/;
|
homepage = http://busybox.net/;
|
||||||
|
@ -8336,9 +8336,7 @@ let
|
|||||||
|
|
||||||
auctex = callPackage ../tools/typesetting/tex/auctex { };
|
auctex = callPackage ../tools/typesetting/tex/auctex { };
|
||||||
|
|
||||||
busybox = callPackage ../misc/busybox {
|
busybox = callPackage ../misc/busybox { };
|
||||||
enableStatic = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
cups = callPackage ../misc/cups { };
|
cups = callPackage ../misc/cups { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user