diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-09 14:14:12 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-09 14:14:12 +0000 |
commit | 4a7acb65f6fb783a5a40a7fec606795280cbf1fe (patch) | |
tree | 6d53a8e306e6430d1d2f99dc520f3db627a60c8a /scripts/poky-qemu-internal | |
parent | 0f1ddc5c32e59065c1b21e04743c6771b2f8ea33 (diff) | |
download | openembedded-core-4a7acb65f6fb783a5a40a7fec606795280cbf1fe.tar.gz openembedded-core-4a7acb65f6fb783a5a40a7fec606795280cbf1fe.tar.bz2 openembedded-core-4a7acb65f6fb783a5a40a7fec606795280cbf1fe.tar.xz openembedded-core-4a7acb65f6fb783a5a40a7fec606795280cbf1fe.zip |
scripts: Various tweaks/fixes for the qemu scripts
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3440 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/poky-qemu-internal')
-rwxr-xr-x | scripts/poky-qemu-internal | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index e715844af..82e6a038d 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal @@ -60,7 +60,7 @@ fi if [ "$MACHINE" = "qemuarm" ]; then QEMU=`which qemu-system-arm` if [ "$TYPE" = "ext2" ]; then - QEMUOPTIONS="-append \"root=/dev/sda console=ttyAMA0 console=tty0 mem=$QEMU_MEMORY\" $QEMU_NETWORK_CMD -M versatilepb -hda $HDIMAGE -usb -usbdevice wacom-tablet" + QEMUOPTIONS="-append 'root=/dev/sda console=ttyAMA0 console=tty0 mem=$QEMU_MEMORY' $QEMU_NETWORK_CMD -M versatilepb -hda $HDIMAGE -usb -usbdevice wacom-tablet" fi if [ "$TYPE" = "nfs" ]; then if [ "x$HDIMAGE" = "x" ]; then @@ -70,14 +70,14 @@ if [ "$MACHINE" = "qemuarm" ]; then echo "Error, NFS mount point $HDIMAGE doesn't exist" return fi - QEMUOPTIONS="-append \"root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD\" $QEMU_NETWORK_CMD -M versatilepb" + QEMUOPTIONS="-append 'root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD' $QEMU_NETWORK_CMD -M versatilepb" fi fi if [ "$MACHINE" = "qemux86" ]; then QEMU=`which qemu` if [ "$TYPE" = "ext2" ]; then - QEMUOPTIONS="-std-vga -append \"root=/dev/hda mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD\" $QEMU_NETWORK_CMD -hda $HDIMAGE -usb -usbdevice wacom-tablet" + QEMUOPTIONS="-std-vga -append 'root=/dev/hda mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD' $QEMU_NETWORK_CMD -hda $HDIMAGE -usb -usbdevice wacom-tablet" fi if [ "$TYPE" = "nfs" ]; then if [ "x$HDIMAGE" = "x" ]; then @@ -87,7 +87,7 @@ if [ "$MACHINE" = "qemux86" ]; then echo "Error, NFS mount point $HDIMAGE doesn't exist." return fi - QEMUOPTIONS="-std-vga -append \"root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD\" $QEMU_NETWORK_CMD" + QEMUOPTIONS="-std-vga -append 'root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD' $QEMU_NETWORK_CMD" fi fi @@ -124,6 +124,4 @@ fi echo "Running $QEMU using sudo..." echo "$QEMU -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS" -sudo $QEMU -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS - - +sudo "$QEMU -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS" |