# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2 or any later version.
-# Latest change: Sun Dec 09 18:38:26 CET 2007 [mika]
################################################################################
die() {
fi
grml-live -F $* $GRML_LIVE_ARCH -s $SUITE -c $CLASSES -o $OUTPUT_DIR \
- -g $NAME -v $DATE -r grml-live-autobuild -i $ISO_NAME \
+ -g "$NAME-daily-$SUITE" -v $DATE -r grml-live-autobuild -i $ISO_NAME \
1>/var/log/grml-buildd.stdout \
2>/var/log/grml-buildd.stderr ; RC=$?
# store logs on remote server:
upload_logs() {
[ -n "$RSYNC_MIRROR" ] || return 1
-# eval $(grep '^LOGDIR=' $FAI_LOGFILES/variables.log)
- rsync --exclude dmesg.log --times --partial -az --quiet /var/log/grml-buildd.* \
+ umask 002
+ rsync --exclude dmesg.log --times --partial --copy-links -az --quiet /var/log/grml-buildd.* \
$FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${NAME}_${DATE}"/
}
Return code of grml-live run was: $RC
-$(grep 'Executed command line:' $GRML_LOGFILE || echo "* executed command line not available")
+$(grep -A2 'Executed grml-live' $GRML_LOGFILE || echo "* executed grml-live command line not available")
+
+$(grep -A2 'Executed FAI' $GRML_LOGFILE || echo "* executed FAI command line not available")
The following errors have been noticed (several might be warnings only):
if [ -r "${OUTPUT_DIR}/grml_isos/${ISO_NAME}.md5" ] ; then
mv "${OUTPUT_DIR}/grml_isos/${ISO_NAME}.md5" "${ISO_DIR}"
fi
+ if [ -r "${OUTPUT_DIR}/grml_isos/${ISO_NAME}.sha1" ] ; then
+ mv "${OUTPUT_DIR}/grml_isos/${ISO_NAME}.sha1" "${ISO_DIR}"
+ fi
fi
}