summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-29 10:49:40 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-29 12:01:03 +0200
commit2e0063adead1ddd679606bb65f3a848567160751 (patch)
tree2609d9850ee64d56cfdd307fc0ae01ffafb96279
parent1a97061d1528b243f24224d689ae1969dd0b16f0 (diff)
downloadjenkins.debian.net-2e0063adead1ddd679606bb65f3a848567160751.tar.xz
g-i: improve debug output.
-rwxr-xr-xbin/g-i-installation.sh5
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