Skip to contentSkip to conversation

mktarball: Use root/root for internal ownership

PATCH In review Andrew Cooper 2 participants 2 messages Nov 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mktarball: Use root/root for internal ownership

... rather than leaking whomever created the tarball.

---
CC: Jan Beulich <[email protected]>

And backport to 4.17 as there's still one more release to do there.

---
 tools/misc/mktarball | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/misc/mktarball +1 -1
index 42d543073cfc..15a4e0bfad62 100755
@@ -49,6 +49,6 @@ git_archive_into $xen_root/tools/qemu-xen-traditional-dir-remote $tdir/xen-$desc
 
 git_archive_into $xen_root/extras/mini-os-remote $tdir/xen-$desc/extras/mini-os
 
-GZIP=-9v tar cz -f $xen_root/dist/xen-$desc.tar.gz -C $tdir xen-$desc
+GZIP=-9v tar cz -f $xen_root/dist/xen-$desc.tar.gz --owner 0 --group 0 -C $tdir xen-$desc
 
 echo "Source tarball in $xen_root/dist/xen-$desc.tar.gz"

base-commit: 3fb951af741ab2faa5a44d413fe1393cdeea05c4

Signature · 1 line
2.39.5