diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/g-i-installation.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index aebed736..7ef22016 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -819,6 +819,7 @@ monitor_system() { LAST_LINE=$(tail -1 $GOCR |cut -d "]" -f2- || true) STACK_LINE=$(egrep "(Call Trace|end trace)" $GOCR || true) INVALID_SIG_LINE=$(egrep "(Invalid Release signature)" $GOCR || true) + CDROM_PROBLEM=$(grep "There was a problem reading data from the CD-ROM" $GOCR || true) rm $GOCR $GOCR.ppm if [[ "$LAST_LINE" =~ .*Power\ down.* ]] ; then echo "QEMU was powered down, continuing." @@ -829,6 +830,9 @@ monitor_system() { elif [ ! -z "$INVALID_SIG_LINE" ] ; then echo "ERROR: Invalid Release signature found, aborting." exit 1 + elif [ ! -z "$CDROM_PROBLEM" ] ; then + echo "ERROR: Loading installer components from CDROM failed, aborting." + exit 1 fi fi # every 100 screenshots, starting from the $TIMEOUTth one... |