summaryrefslogtreecommitdiffstats
path: root/pkgs/stdenv/linux/make-bootstrap-tools.nix
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-09-26 16:50:25 -0500
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-11-03 14:52:44 +0100
commit43c721df4af4bb136a3a9504fce9d963efe67c39 (patch)
tree317ab91fb57f06a35b2fb214c57bba28f294843b /pkgs/stdenv/linux/make-bootstrap-tools.nix
parent78d3cb1d16b3b1df8862018784a2f5da50f218e5 (diff)
make-bootstrap-tools: use 'extreme' option to reduce size but not cost
Apparently this option trades compression time for size, and explicitly does so without increasing resources needed in decomp. Doesn't make tarball creation unbearable, so add it to options!
Diffstat (limited to 'pkgs/stdenv/linux/make-bootstrap-tools.nix')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix
index 697082c01bc2..0c285f9661e0 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix
@@ -181,7 +181,7 @@ in with pkgs; rec {
mv $out/.pack $out/pack
mkdir $out/on-server
- XZ_OPT=-9 tar cvJf $out/on-server/bootstrap-tools.tar.xz --hard-dereference --sort=name --numeric-owner --owner=0 --group=0 --mtime=@1 -C $out/pack .
+ XZ_OPT="-9 -e" tar cvJf $out/on-server/bootstrap-tools.tar.xz --hard-dereference --sort=name --numeric-owner --owner=0 --group=0 --mtime=@1 -C $out/pack .
cp ${busyboxMinimal}/bin/busybox $out/on-server
chmod u+w $out/on-server/busybox
nuke-refs $out/on-server/busybox