summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-08 21:31:00 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:34 +0100
commita232087c6248b5903dde9ba372f044c6cc0fa3d4 (patch)
tree565cfa15e0c4862aa8da5a9232dc08a98f25467c
parentf1c52724d754eb459ef31bd875dfc993c949bef6 (diff)
downloadlive-build-a232087c6248b5903dde9ba372f044c6cc0fa3d4.zip
live-build-a232087c6248b5903dde9ba372f044c6cc0fa3d4.tar.gz
Compress build logs. Thanks to Mathieu Geli for the suggestion.
-rwxr-xr-xexamples/cron/images.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 67e0efc..ed9a5b8 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -47,6 +47,7 @@ do
fi
lh build | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.log
+ gzip -9 debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.log
mv binary.iso debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list
@@ -61,6 +62,7 @@ do
lh clean --binary
lh config -b usb-hdd
lh binary | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.log
+ gzip -9 debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.log
mv binary.img debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.list
@@ -69,6 +71,7 @@ do
lh clean --binary
lh config -b net
lh binary | tee debian-live-${DISTRIBUTION}-i386-${FLAVOUR}-net.tar.gz.log
+ gzip -9 debian-live-${DISTRIBUTION}-i386-${FLAVOUR}-net.tar.gz.log
mv binary-net.tar.gz debian-live-${DISTRIBUTION}-i386-${FLAVOUR}-net.tar.gz
mv binary.list debian-live-${DISTRIBUTION}-i386-${FLAVOUR}-net.tar.gz.list