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:
parent
75ce714818
commit
48f270db52
|
@ -54,7 +54,7 @@ mkdir -p $out/tarball
|
||||||
|
|
||||||
rm env-vars
|
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
|
mkdir -p $out/nix-support
|
||||||
echo $system > $out/nix-support/system
|
echo $system > $out/nix-support/system
|
||||||
|
|
Loading…
Reference in New Issue