X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=buildd%2Ffunctions.sh;h=db93bbbd5f9389a829c94bb6444e0e6ee93ac9d7;hb=2e0d659c70c2b62509cf7196f73bc7ba0475ccbb;hp=631d3e2f6a487b287b6ee1dc157380f1e7ff082f;hpb=79e4473d95f50bd83cd45cf592afc692a2011b87;p=grml-live.git diff --git a/buildd/functions.sh b/buildd/functions.sh index 631d3e2..db93bbb 100755 --- a/buildd/functions.sh +++ b/buildd/functions.sh @@ -81,7 +81,7 @@ grml_live_run() { # create log archive: create_logs() { - ( cd / && tar zcf $ATTACHMENT $FAI_LOGFILES /var/log/grml-buildd.stderr /var/log/grml-buildd.stdout $GRML_LOGFILE >/dev/null ) + ( cd / && tar zcfh $ATTACHMENT $FAI_LOGFILES /var/log/grml-buildd.stderr /var/log/grml-buildd.stdout $GRML_LOGFILE >/dev/null ) } # store logs on remote server: @@ -122,6 +122,10 @@ The following errors have been noticed (several might be warnings only): $(grep -i error $FAI_LOGFILES/* /var/log/grml-buildd.std* | grep -ve liberror -ve libgpg-error || echo "* nothing") +The following errors have been noticed in FAI scripts: + +$(grep -B2 "FAILED with exit code" $FAI_LOGFILES/* | echo "* nothing") + The following warnings have been noticed: $(grep -i warn $FAI_LOGFILES/* /var/log/grml-buildd.std* || echo "* nothing")