mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-11 21:27:10 +00:00
generate all tar files with --xattrs. LP: #1302192.
This commit is contained in:
parent
dee54ed412
commit
3db2340c54
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (2.534) UNRELEASED; urgency=medium
|
||||
|
||||
* generate all tar files with --xattrs. LP: #1302192.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 01 Aug 2018 17:59:41 -0700
|
||||
|
||||
livecd-rootfs (2.533) cosmic; urgency=medium
|
||||
|
||||
[ Robert C Jennings ]
|
||||
|
@ -490,7 +490,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
|
||||
@ -527,7 +527,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
|
||||
|
@ -12,4 +12,4 @@ fi
|
||||
rootfs_dir=rootfs.dir
|
||||
|
||||
cp $rootfs_dir.manifest livecd.ubuntu-cpc.rootfs.manifest
|
||||
(cd $rootfs_dir/ && tar -c *) | xz > livecd.ubuntu-cpc.rootfs.tar.xz
|
||||
(cd $rootfs_dir/ && tar -c --xattrs *) | xz > livecd.ubuntu-cpc.rootfs.tar.xz
|
||||
|
Loading…
x
Reference in New Issue
Block a user