forked from mirrors/nixpkgs
* 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
|
||||
'';
|
||||
|
||||
staticConfig = (if enableStatic then ''
|
||||
CONFIG_STATIC y
|
||||
'' else "");
|
||||
staticConfig = stdenv.lib.optionalString enableStatic ''
|
||||
CONFIG_STATIC y
|
||||
'';
|
||||
|
||||
in
|
||||
|
||||
|
@ -65,6 +65,8 @@ stdenv.mkDerivation rec {
|
|||
'' else "");
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Tiny versions of common UNIX utilities in a single small executable";
|
||||
homepage = http://busybox.net/;
|
||||
|
|
|
@ -8336,9 +8336,7 @@ let
|
|||
|
||||
auctex = callPackage ../tools/typesetting/tex/auctex { };
|
||||
|
||||
busybox = callPackage ../misc/busybox {
|
||||
enableStatic = true;
|
||||
};
|
||||
busybox = callPackage ../misc/busybox { };
|
||||
|
||||
cups = callPackage ../misc/cups { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue