Link binary.iso or binary-hybrid.iso, if found, into the output

directory for use by BuildLiveCD.
ubuntu/precise
Colin Watson 14 years ago
parent 8b7ceb5ab1
commit 87d6aa1876

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.31) UNRELEASED; urgency=low
* Link binary.iso or binary-hybrid.iso, if found, into the output
directory for use by BuildLiveCD.
-- Colin Watson <cjwatson@ubuntu.com> Tue, 23 Aug 2011 18:28:02 +0100
livecd-rootfs (2.30) oneiric; urgency=low livecd-rootfs (2.30) oneiric; urgency=low
* provide .bootimg as a link to .bootimg-$FLAVOUR similar to the * provide .bootimg as a link to .bootimg-$FLAVOUR similar to the

@ -116,6 +116,13 @@ for OUTPUT in ext2 ext3 ext4 manifest manifest-remove size squashfs; do
chmod 644 "$PREFIX.$OUTPUT" chmod 644 "$PREFIX.$OUTPUT"
done done
for ISO in binary.iso binary-hybrid.iso; do
[ -e "$ISO" ] || continue
ln "$ISO" "$PREFIX.iso"
chmod 644 "$PREFIX.iso"
break
done
if [ -e "binary/$INITFS/filesystem.dir" ]; then if [ -e "binary/$INITFS/filesystem.dir" ]; then
(cd "binary/$INITFS/filesystem.dir/" && tar -c *) | \ (cd "binary/$INITFS/filesystem.dir/" && tar -c *) | \
gzip -9 --rsyncable > "$PREFIX.rootfs.tar.gz" gzip -9 --rsyncable > "$PREFIX.rootfs.tar.gz"

Loading…
Cancel
Save