summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-05-28 12:35:41 +0000
committerOlivier Blin <blino@mageia.org>2011-05-28 12:35:41 +0000
commite9dcd96097d8456d21e05f6ad02e3f8da494124b (patch)
tree834f6228739b0b420f516a3b281873acc1283190
parent004be0338677f358678905ee6c9915f8302e9079 (diff)
downloaddraklive-config-e9dcd96097d8456d21e05f6ad02e3f8da494124b.tar
draklive-config-e9dcd96097d8456d21e05f6ad02e3f8da494124b.tar.gz
draklive-config-e9dcd96097d8456d21e05f6ad02e3f8da494124b.tar.bz2
draklive-config-e9dcd96097d8456d21e05f6ad02e3f8da494124b.tar.xz
draklive-config-e9dcd96097d8456d21e05f6ad02e3f8da494124b.zip
add build_live.sh script
-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)