summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/build_live.sh39
1 files changed, 39 insertions, 0 deletions
diff --git a/tools/build_live.sh b/tools/build_live.sh
new file mode 100755
index 0000000..0444eff
--- /dev/null
+++ b/tools/build_live.sh
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+set=$(date -u +%Y%m%d%H%M)
+
+logdir=~/draklive-logs
+mkdir -p $logdir
+exec &>$logdir/draklive-$set.log
+
+set -x
+
+archs="i586"
+#archs="i586 x86_64"
+desktops="KDE4 GNOME"
+#desktops="KDE4"
+regions="europe1-americas europe2 africa-india asia-noindia"
+#regions="int"
+#regions="europe1-americas"
+
+draklive_config=$(dirname $(dirname $0))
+#draklive_config=/home/blino/live-config/
+
+steps="--clean --all"
+#steps="--boot --loop --master"
+
+draklive_cmd="sudo draklive --config-root $draklive_config"
+#draklive_cmd="sudo -u draklive sudo perl -I./draklive/lib ./draklive/draklive --config-root $draklive_config"
+
+start=$(date)
+for arch in $archs; do
+ for desktop in $desktops; do
+ for region in $regions; do
+ time $draklive_cmd $steps --define arch=$arch --define desktop=$desktop --define region=$region --define set=$set
+ done
+ done
+done
+
+echo set $set
+echo $start
+echo $(date)