Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMartin Dengler <martin@martindengler.com>2009-06-29 21:31:30 (GMT)
committer Martin Dengler <martin@martindengler.com>2009-06-30 11:35:31 (GMT)
commit0ae1da97a8da1f25c8d4cba1135e1f4cc9b17db8 (patch)
tree10e97b686c618c651be009ecb288865145240c25 /build
parent628648f8d89fe8322e2867a5a56a673900683206 (diff)
refactor build process into smaller, more sensible, more restartable scripts
Diffstat (limited to 'build')
-rwxr-xr-xbuild20
1 files changed, 18 insertions, 2 deletions
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
+