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!
This commit is contained in:
Will Dietz 2018-09-26 16:50:25 -05:00 committed by Frederik Rietdijk
parent 78d3cb1d16
commit 43c721df4a

View File

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