]> code.ossystems Code Review - openembedded-core.git/commitdiff
poky-qemu-internal: make the -no-reboot qemu option mandatory
authorScott Garman <scott.a.garman@intel.com>
Thu, 14 Oct 2010 18:42:13 +0000 (11:42 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 14 Oct 2010 19:12:04 +0000 (20:12 +0100)
This fixes [BUGID #100]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
scripts/poky-qemu-internal

index 66db0333ee61e83c9f9860eb3496ad82146af324..cf16407e2ad033af2fcdac00d6d4ec297627024e 100755 (executable)
@@ -440,8 +440,9 @@ else
 fi
 
 echo "Running $QEMU..."
-echo $QEMUBIN -kernel $KERNEL $QEMUOPTIONS $SERIALOPTS $SCRIPT_QEMU_CMDLINE_OPT --append '"'$KERNCMDLINE $SCRIPT_KERNEL_OPT'"'
-$QEMUBIN -kernel $KERNEL $QEMUOPTIONS $SERIALOPTS $SCRIPT_QEMU_OPT --append "$KERNCMDLINE $SCRIPT_KERNEL_OPT" || /bin/true
+# -no-reboot is a mandatory option - see bug #100
+echo $QEMUBIN -kernel $KERNEL $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_CMDLINE_OPT --append '"'$KERNCMDLINE $SCRIPT_KERNEL_OPT'"'
+$QEMUBIN -kernel $KERNEL $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT --append "$KERNCMDLINE $SCRIPT_KERNEL_OPT" || /bin/true
 
 cleanup