From f8680b45905160f99475498945d1521111fa6e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 17 Feb 2023 17:25:31 +0100 Subject: [PATCH] makedist: Use fixed owner/group in generated tarball 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. --- scripts/dev/makedist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev/makedist b/scripts/dev/makedist index 38553d63d315..80930fea795f 100755 --- a/scripts/dev/makedist +++ b/scripts/dev/makedist @@ -175,7 +175,7 @@ cd .. echo "" echo "makedist: Creating $prefix.tar archive." -"$tar" cf "$prefix".tar "$prefix" +"$tar" cf "$prefix".tar --owner=0 --group=0 --numeric-owner "$prefix" rm -rf "$prefix" "$prefix".tar.* echo "makedist: Creating $prefix.tar.gz archive."