diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build_live.sh | 43 |
1 files changed, 8 insertions, 35 deletions
diff --git a/tools/build_live.sh b/tools/build_live.sh index c0f082e..1eb7661 100755 --- a/tools/build_live.sh +++ b/tools/build_live.sh @@ -1,41 +1,14 @@ #!/bin/sh -set=$(date -u +%Y%m%d%H%M) - -logdir=~/draklive-logs -mkdir -p $logdir -exec &>$logdir/draklive-$set.log - -echo "tmb is doing manual builds right now, so no auto build allowed for tonight" -exit 0 - -set -x - -#archs="i586" archs="i586 x86_64" -desktops="KDE4 GNOME" -#desktops="KDE4" -#regions="Europe1-Americas Europe2 Africa-India Asia-no-India" -#regions="all" -regions="Europe1-Americas" -draklive_config=$(dirname $(dirname $0)) -#draklive_config=/home/blino/live-config/ +desktops="GNOME KDE4" -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 + for desktop in $desktops; do + sudo -u draklive sudo /usr/sbin/draklive --clean --all --define arch=$arch --define desktop=$desktop + sudo -u bcd mkdir -p /home/bcd/public_html/isos/mageia5.1/Mageia-5.1-LiveDVD-${desktop}-${arch}-DVD + sudo -u bcd cp /home/draklive/var-data/build/Mageia-5.1-LiveDVD-${desktop}-${arch}-DVD/dist/* /home/bcd/public_html/isos/mageia5.1/Mageia-5.1-LiveDVD-${desktop}-${arch}-DVD + # not enough space on rabbit's RAM disk for all four variants, so delete as we go + sudo -u draklive sudo /usr/sbin/draklive --clean --define arch=$arch --define desktop=$desktop + done done - -echo set $set -echo $start -echo $(date) |