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
This commit is contained in:
Joachim Fasting 2017-01-01 01:36:45 +01:00
parent 75ce714818
commit 48f270db52
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

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