From 1f5b607e6353493cbe1dd43636d86c66c60e04db Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Jan 2013 16:57:29 +0100 Subject: g-i: check image after install --- bin/g-i-installation.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 2d473126..ec5c7e8c 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -187,6 +187,9 @@ boot_system() { # qemu related variables (incl kernel+initrd) - display first, as we grep for this in the process list QEMU_OPTS="-display vnc=$DISPLAY -no-shutdown" QEMU_OPTS="$QEMU_OPTS -drive file=$NAME.raw,index=0,media=disk,cache=writeback -m $RAMSIZE" + echo "Checking $NAME.raw:" + file $NAME.raw + # FIXME: exit here if image is not bootable echo echo "Starting QEMU_ now:" set -x -- cgit v1.2.3-70-g09d2