]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu-internal: fix to start X correctly in live images
authorChen Qi <Qi.Chen@windriver.com>
Tue, 23 Jul 2013 02:58:04 +0000 (10:58 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Aug 2013 10:14:14 +0000 (11:14 +0100)
The QEMUOPTIONS for ISOFS was not complete, leading to failures when
trying to start X in live images.

This patch fixes this problem.

[YOCTO #4103]
[YOCTO #4884]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/runqemu-internal

index 9619bec7b9c978dac20a569971a92bd7d5a38e9a..8a6e551abc945da384deefae7e5d670fbcf87dac 100755 (executable)
@@ -526,7 +526,7 @@ if [ "x$RAMFS" = "xtrue" ]; then
 fi
 
 if [ "x$ISOFS" = "xtrue" ]; then
-    QEMUOPTIONS="-cdrom $ROOTFS"
+    QEMUOPTIONS="$QEMU_NETWORK_CMD -cdrom $ROOTFS $QEMU_UI_OPTIONS"
 fi
 
 if [ "x$QEMUOPTIONS" = "x" ]; then