summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2013-01-07 16:57:29 +0100
committerHolger Levsen <holger@layer-acht.org>2013-01-07 16:57:29 +0100
commit1f5b607e6353493cbe1dd43636d86c66c60e04db (patch)
treefcbaa993bd7e8a2de537e061c637d09707990455 /bin
parentcb0c1e7eb805e273196505c316753356ed0551e9 (diff)
downloadjenkins.debian.net-1f5b607e6353493cbe1dd43636d86c66c60e04db.tar.xz
g-i: check image after install
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh3
1 files changed, 3 insertions, 0 deletions
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