* 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:
Eelco Dolstra 2012-05-21 17:51:40 +00:00
parent 3724758a96
commit 1a22e9761d
2 changed files with 6 additions and 6 deletions

View File

@ -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/;

View File

@ -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 { };