fi
fi
- grml-live -F $GRML_LIVE_ARCH -s $SUITE -c $CLASSES -o $OUTPUT_DIR \
+ grml-live -F $* $GRML_LIVE_ARCH -s $SUITE -c $CLASSES -o $OUTPUT_DIR \
-g $NAME -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):
store_iso() {
if [ "$RC" = "0" ] ; then
[ -d "$ISO_DIR" ] || mkdir "$ISO_DIR"
- mv $OUTPUT_DIR/grml_isos/$ISO_NAME $ISO_DIR
+ mv "${OUTPUT_DIR}/grml_isos/${ISO_NAME}" "$ISO_DIR"
+ if [ -r "${OUTPUT_DIR}/grml_isos/${ISO_NAME}.md5" ] ; then
+ mv "${OUTPUT_DIR}/grml_isos/${ISO_NAME}.md5" "${ISO_DIR}"
+ fi
fi
}