aboutsummaryrefslogtreecommitdiff
path: root/pkgs/stdenv/linux/make-bootstrap-tools.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-07-19 01:04:53 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2016-07-20 02:38:10 +0300
commit3d509896511fac1c73307fedf2060c9dddebf73a (patch)
tree7ebd669e51c0502553bb83b7a71f7ef98dc409ab /pkgs/stdenv/linux/make-bootstrap-tools.nix
parent53c039b96a8c6c31a79fb3b3d7a95f6295dd7164 (diff)
make-bootstrap-tools{,-cross}.nix: Create deterministic tars
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 866906662aea..1ecb222af3ec 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix
@@ -146,7 +146,7 @@ rec {
mv $out/.pack $out/pack
mkdir $out/on-server
- tar cvfJ $out/on-server/bootstrap-tools.tar.xz -C $out/pack .
+ tar cvfJ $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