summaryrefslogtreecommitdiff
path: root/examples/cron
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-28 17:36:06 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:33 +0100
commite0e766e38f2a6b014a47eb7fe3364f4ee5b154d5 (patch)
tree24f3688027f23eed2c56a70fe33012a25b9dd2ec /examples/cron
parentcd97e1bbb1a0260f2340ac18dbf21da0304284d5 (diff)
downloadvyos-live-build-e0e766e38f2a6b014a47eb7fe3364f4ee5b154d5.tar.gz
vyos-live-build-e0e766e38f2a6b014a47eb7fe3364f4ee5b154d5.zip
Adding netboot tarballs and plain squashfs images to images build script.
Diffstat (limited to 'examples/cron')
-rwxr-xr-xexamples/cron/images.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 0088874ad..67e0efca4 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -54,8 +54,8 @@ do
if [ "${SOURCE}" = "enabled" ]
then
- mv source.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz
- mv source.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.list
+ mv source.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}-source.tar.gz
+ mv source.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}-source.tar.gz.list
fi
lh clean --binary
@@ -65,5 +65,15 @@ do
mv binary.img debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.list
mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.packages
+
+ lh clean --binary
+ lh config -b net
+ lh binary | tee 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
+ mv binary.packages debian-live-${DISTRIBUTION}-i386-${FLAVOUR}-net.tar.gz.packages
+
+ mv binary/*/filesystem.squashfs debian-live-${DISTRIBUTION}-i386-${FLAVOUR}.squashfs
done
done