include file capabilities in the update tarball

for instance podman is broken if newuidmap doesn't have cap_setuid=ep
This commit is contained in:
Ian Monroe
2024-11-17 13:25:40 -08:00
committed by Ian Monroe
parent 82b17d8e70
commit bfd7045674

View File

@@ -92,7 +92,7 @@ fi
# Create rootfs tarball for consumption by systemd-sysext (doesn't currently support consuming raw images :()
rm -rf "$TAR" ./*.tar
tar -C "${OUTPUT}"/ -cf "$TAR" .
tar -C "${OUTPUT}"/ --xattrs --xattrs-include=*.* -cf "$TAR" .
SIZE=$(stat --format %s "$TAR") # the apparent size of all data
zstd -T0 --rm "$TAR"