* 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
'';
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/;

View file

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