diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-04-29 10:49:40 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-29 12:01:03 +0200 |
commit | 2e0063adead1ddd679606bb65f3a848567160751 (patch) | |
tree | 2609d9850ee64d56cfdd307fc0ae01ffafb96279 | |
parent | 1a97061d1528b243f24224d689ae1969dd0b16f0 (diff) | |
download | jenkins.debian.net-2e0063adead1ddd679606bb65f3a848567160751.tar.xz |
g-i: improve debug output.
-rwxr-xr-x | bin/g-i-installation.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 618f1e04..90629b1c 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -829,7 +829,7 @@ monitor_system() { BUILD_LTSP_PROBLEM=$(grep "The failing step is: Build LTSP chroot" $GOCR || true) rm $GOCR $GOCR.ppm if [[ "$LAST_LINE" =~ .*Power\ down.* ]] ; then - echo "QEMU was powered down, continuing." + echo "QEMU was powered down." break elif [ ! -z "$STACK_LINE" ] ; then echo "INFO: got a stack-trace, probably on power-down." @@ -864,12 +864,11 @@ monitor_system() { if [ ! -z "$TRIGGER_MODE" ] ; then echo "Warning: snapshot_${PRINTF_NR}.ppm snapshot_${PRINTF_OLD}.ppm match or almost match, ending installation." ls -la snapshot_${PRINTF_NR}.ppm snapshot_${PRINTF_OLD}.ppm + echo "System in $MODE mode is hanging." if [ "$MODE" = "install" ] ; then - echo "System in $MODE mode is hanging, let's end this." # hanging install = broken install exit 1 fi - echo "System in $MODE mode is hanging, moving on." break else # this is only reached once in rescue mode |