From 2e0063adead1ddd679606bb65f3a848567160751 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 29 Apr 2014 10:49:40 +0200 Subject: g-i: improve debug output. --- bin/g-i-installation.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin/g-i-installation.sh') 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 -- cgit v1.2.3-70-g09d2