Skip to content

Commit

Permalink
busyboxBootstrap: Build on hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
wkennington committed May 31, 2015
1 parent 544fdee commit 8f1c2f4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
17 changes: 1 addition & 16 deletions pkgs/stdenv/linux/make-bootstrap-tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@ with import ../../top-level/all-packages.nix {inherit system;};

rec {

busyboxMinimal = busybox.override {
useMusl = true;
enableStatic = true;
enableMinimal = true;
extraConfig = ''
CONFIG_ASH y
CONFIG_ASH_BUILTIN_ECHO y
CONFIG_ASH_BUILTIN_TEST y
CONFIG_ASH_OPTIMIZE_FOR_SIZE y
CONFIG_MKDIR y
CONFIG_TAR y
CONFIG_UNXZ y
'';
};

build =

stdenv.mkDerivation {
Expand Down Expand Up @@ -144,7 +129,7 @@ rec {
mkdir $out/on-server
tar cvfJ $out/on-server/bootstrap-tools.tar.xz -C $out/pack .
cp ${busyboxMinimal}/bin/busybox $out/on-server
cp ${busyboxBootstrap}/bin/busybox $out/on-server
chmod u+w $out/on-server/busybox
nuke-refs $out/on-server/busybox
''; # */
Expand Down
15 changes: 15 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9220,6 +9220,21 @@ let

busybox = callPackage ../os-specific/linux/busybox { };

busyboxBootstrap = busybox.override {
useMusl = true;
enableStatic = true;
enableMinimal = true;
extraConfig = ''
CONFIG_ASH y
CONFIG_ASH_BUILTIN_ECHO y
CONFIG_ASH_BUILTIN_TEST y
CONFIG_ASH_OPTIMIZE_FOR_SIZE y
CONFIG_MKDIR y
CONFIG_TAR y
CONFIG_UNXZ y
'';
};

cgmanager = callPackage ../os-specific/linux/cgmanager { };

checkpolicy = callPackage ../os-specific/linux/checkpolicy { };
Expand Down

0 comments on commit 8f1c2f4

Please sign in to comment.