+ # workaround the 32 chars limit of mkisofs -V ....
+ # 'grml64-small-daily-squeeze 090223' is too long
+ case $SUITE in
+ sid) CODENAME=sid ;;
+ squeeze) CODENAME=squ ;;
+ wheezy) CODENAME=wheez ;;
+ lenny) CODENAME=lenny ;;
+ etch) CODENAME=etch ;;
+ esac
+
+ grml_name="$NAME-daily-$CODENAME"
+ shortdate="$(date +%y%m%d)"
+
+ TIME_START=$(date +%s)
+ grml-live -F $* -a $ARCH -s $SUITE -c $CLASSES -o $OUTPUT_DIR \
+ -g "$grml_name" -v "$shortdate" -r grml-live-autobuild -i $ISO_NAME \
+ >/var/log/grml-buildd.log 2>&1 ; RC=$?
+ TIME_END=$(date +%s)
+ WALLTIME=$(($TIME_END-$TIME_START))
+
+ if [ "$RC" = "0" ] ; then
+ RC_INFO=success
+ else
+ RC_INFO=error
+ return 1
+ fi