From 0ae1da97a8da1f25c8d4cba1135e1f4cc9b17db8 Mon Sep 17 00:00:00 2001 From: Martin Dengler Date: Mon, 29 Jun 2009 21:31:30 +0000 Subject: refactor build process into smaller, more sensible, more restartable scripts --- (limited to 'build') diff --git a/build b/build index c99a9dc..8dd8182 100755 --- a/build +++ b/build @@ -3,5 +3,21 @@ set -e set -o pipefail -python live.py -python appliance.py +python ../live.py + +stem=`ls -t *.iso | head -1 | sed -e "s/.iso//;"` + +../livecd-iso-to-bootable-tree.sh ${stem}.iso $stem + +echo "archiving bootable tree -> tarball..." +tar -c -C $stem . | lzma -1 > ${stem}-files.tar.lzma + +../bootable-tree-to-removable-img.sh $stem ${stem}-removable + +../bootable-tree-to-xo.sh $stem ${stem}.img +../../xo-image-digestor/image-digestor.sh ${stem}.img +for ext in img crc plc ; do + rm -f soas.${ext} + cp -l ${stem}.${ext} soas.${ext} +done + -- cgit v0.9.1