X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=buildd%2Ffunctions.sh;h=b8652ff81b0eb7d91e27b95e47baa2ec1ee7d09b;hp=aa611326f53f416a40ce38c24e08e45273a3be1f;hb=0c7b720f211338bc15e7d32828e1bc864c64bd0c;hpb=0ede9c728472e6d5ff21e613fc390130d7fb95d8 diff --git a/buildd/functions.sh b/buildd/functions.sh index aa61132..b8652ff 100755 --- a/buildd/functions.sh +++ b/buildd/functions.sh @@ -78,8 +78,8 @@ create_logs() { # 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}"/ } @@ -103,7 +103,9 @@ $ISO_DETAILS 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):