From b4dc030fdbd3c7bba238a2197614aa48ff9d0ad8 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 1 Aug 2018 21:00:39 -0700 Subject: [PATCH] generate all tar files with --xattrs. LP: #1302192. --- debian/changelog | 6 ++++++ live-build/auto/build | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f4574ebe..f000cd92 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.525.6) UNRELEASED; urgency=medium + + * generate all tar files with --xattrs. LP: #1302192. + + -- Steve Langasek Wed, 01 Aug 2018 20:57:14 -0700 + livecd-rootfs (2.525.5) bionic; urgency=medium * live-build/auto/config: Improve linux-tools filter to work for i386 too. diff --git a/live-build/auto/build b/live-build/auto/build index 515319d1..4a26f05a 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -459,7 +459,7 @@ for ISO in binary.iso binary.hybrid.iso; do done if [ -e "binary/$INITFS/filesystem.dir" ]; then - (cd "binary/$INITFS/filesystem.dir/" && tar -c *) | \ + (cd "binary/$INITFS/filesystem.dir/" && tar -c --xattrs *) | \ gzip -9 --rsyncable > "$PREFIX.rootfs.tar.gz" chmod 644 "$PREFIX.rootfs.tar.gz" elif [ -e binary-tar.tar.gz ]; then @@ -496,7 +496,7 @@ EOF fi if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-touch-custom" ]; then - (cd "binary/$INITFS/custom.dir/" && tar -c *) | \ + (cd "binary/$INITFS/custom.dir/" && tar -c --xattrs *) | \ gzip -9 --rsyncable > "$PREFIX.custom.tar.gz" chmod 644 "$PREFIX.custom.tar.gz" fi