From af1c3724e75efbe2572e5d5aaa32c7d98c24890d Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 3 May 2013 11:46:55 -0700 Subject: [PATCH] Copy binary-tar.tar.gz to $PREFIX.rootfs.tar.gz if it exists. --- debian/changelog | 1 + live-build/auto/build | 2 ++ 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 66a5f1f2..1cff50f9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ livecd-rootfs (2.129) UNRELEASED; urgency=low * Disable zsync for ubuntu-touch images. + * Copy binary-tar.tar.gz to $PREFIX.rootfs.tar.gz if it exists. -- Colin Watson Fri, 03 May 2013 10:35:43 -0700 diff --git a/live-build/auto/build b/live-build/auto/build index 3cad7908..c6a068ba 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -301,6 +301,8 @@ if [ -e "binary/$INITFS/filesystem.dir" ]; then (cd "binary/$INITFS/filesystem.dir/" && tar -c *) | \ gzip -9 --rsyncable > "$PREFIX.rootfs.tar.gz" chmod 644 "$PREFIX.rootfs.tar.gz" +elif [ -e binary-tar.tar.gz ]; then + cp -a binary-tar.tar.gz "$PREFIX.rootfs.tar.gz" fi # '--initramfs none' produces different manifest names.