]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu-internal: Add console=tty for qemuppc and NFS
authorSaul Wold <sgw@linux.intel.com>
Thu, 5 Apr 2012 20:14:06 +0000 (13:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Apr 2012 00:12:15 +0000 (01:12 +0100)
Adding this to the nfs to match the ext3 kernelcmdline, this re-enables
keyboard input on the qemuppc.

[YOCTO #2058]

Thanks to Yi Zhao <yi.zhao@windriver.com> for the initial patch suggestion

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

index 92f245a112845d6e456509c157ffb5ccd00c102c..1831a098c60c0b0dffd3b6ae557285538005dcdf 100755 (executable)
@@ -404,7 +404,7 @@ if [ "$MACHINE" = "qemuppc" ]; then
             cleanup
             return
         fi
-        KERNCMDLINE="root=/dev/nfs console=ttyS0 nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
+        KERNCMDLINE="root=/dev/nfs console=ttyS0 console=tty nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
         QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -no-reboot $QEMU_UI_OPTIONS"
     fi
 fi