Skip to content

Commit 7d22978

Browse files
authored
makedist: Use fixed owner/group in generated tarball (#10613)
This reduces the amount of system-dependent data within the tarball and makes it more reproducible. Instead of the information of the release manager that generates the tarball, the tarball will include the fixed 0:0 value as owner:group.
1 parent a7d57e2 commit 7d22978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dev/makedist

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ cd ..
175175

176176
echo ""
177177
echo "makedist: Creating $prefix.tar archive."
178-
"$tar" cf "$prefix".tar "$prefix"
178+
"$tar" cf "$prefix".tar --owner=0 --group=0 --numeric-owner "$prefix"
179179
rm -rf "$prefix" "$prefix".tar.*
180180

181181
echo "makedist: Creating $prefix.tar.gz archive."

0 commit comments

Comments
 (0)