diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2017-01-01 01:36:45 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2017-01-01 06:03:05 +0100 |
commit | 48f270db52b6b17d917e447eb236ccaac03c2b55 (patch) | |
tree | fc4e033f17723b83b0c0a8e4f39fa8558a6bf742 /nixos | |
parent | 75ce71481842b0b9b1f81cd99cebf7aeba64243d (diff) |
make-system-tarball.sh: use numeric uids
Ownership should now always be 0/0. Pointed out by @dezgeg at https://github.com/NixOS/nixpkgs/pull/21305#discussion_r93258149
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/lib/make-system-tarball.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/make-system-tarball.sh b/nixos/lib/make-system-tarball.sh index efb83d914287a..73a009d8488a7 100644 --- a/nixos/lib/make-system-tarball.sh +++ b/nixos/lib/make-system-tarball.sh @@ -54,7 +54,7 @@ mkdir -p $out/tarball rm env-vars -tar --sort=name --mtime='1970-01-01' -cvJf $out/tarball/$fileName.tar.xz * $extraArgs +tar --sort=name --mtime='@1' --owner=0 --group=0 --numeric-owner -cvJf $out/tarball/$fileName.tar.xz * $extraArgs mkdir -p $out/nix-support echo $system > $out/nix-support/system |