[5/9] runqemu-internal: fix to start X correctly in live images

Submitted by Qi.Chen@windriver.com on July 26, 2013, 7:39 a.m.

Details

Message ID 0da7b54224344cbab25159c623bf5bf404c6e82e.1374642547.git.Qi.Chen@windriver.com
State Accepted
Commit 08947869917dc5a9dfff05b0ee19279f60cf6d2b
Headers show

Commit Message

Qi.Chen@windriver.com July 26, 2013, 7:39 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

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>
---
 scripts/runqemu-internal |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 9619bec..8a6e551 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -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