summaryrefslogtreecommitdiff
path: root/scripts/poky-qemu-internal
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-04-24 14:30:55 +0000
committerRoss Burton <ross@openedhand.com>2008-04-24 14:30:55 +0000
commit85049069b0a5d4df154a8a1df612ab3163ed1045 (patch)
treee3095c6a430c2a4929aef05087456120dd9b2dd9 /scripts/poky-qemu-internal
parent5e6ec763b795ffa2329f32063d01a1fbec2c1f9d (diff)
downloadopenembedded-core-85049069b0a5d4df154a8a1df612ab3163ed1045.tar.gz
openembedded-core-85049069b0a5d4df154a8a1df612ab3163ed1045.tar.bz2
openembedded-core-85049069b0a5d4df154a8a1df612ab3163ed1045.tar.xz
openembedded-core-85049069b0a5d4df154a8a1df612ab3163ed1045.zip
Allow user-specified options to be passed to qemu via poky-qemu
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4327 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/poky-qemu-internal')
-rwxr-xr-xscripts/poky-qemu-internal4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal
index ac2772d3f..d3a662e9e 100755
--- a/scripts/poky-qemu-internal
+++ b/scripts/poky-qemu-internal
@@ -215,8 +215,8 @@ else
fi
echo "Running $QEMU using sudo..."
-echo $QEMUBIN -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS --append "$KERNCMDLINE"
-sudo $QEMUBIN -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS --append "$KERNCMDLINE" || /bin/true
+echo $QEMUBIN -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS $* --append "$KERNCMDLINE"
+sudo $QEMUBIN -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS $* --append "$KERNCMDLINE" || /bin/true
trap - INT TERM QUIT
return