From bfd7045674afbf6ed9615d7a1187cd53f30146bb Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Sun, 17 Nov 2024 13:25:40 -0800 Subject: [PATCH] include file capabilities in the update tarball for instance podman is broken if newuidmap doesn't have cap_setuid=ep --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index efb3ed7..21ac66a 100755 --- a/build.sh +++ b/build.sh @@ -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"