summaryrefslogtreecommitdiff
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-20 12:00:47 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-20 12:00:47 +0000
commit31f507e2917e00b8e3a124ef0c0b06e2b9c18b8a (patch)
tree4a6f25056ca1e77d21db1afdff41e34f5a0f3676 /scripts/runqemu
parentaf60f8fd9acf5115d4d059fc23963082585719ce (diff)
downloadopenembedded-core-31f507e2917e00b8e3a124ef0c0b06e2b9c18b8a.tar.gz
openembedded-core-31f507e2917e00b8e3a124ef0c0b06e2b9c18b8a.tar.bz2
openembedded-core-31f507e2917e00b8e3a124ef0c0b06e2b9c18b8a.tar.xz
openembedded-core-31f507e2917e00b8e3a124ef0c0b06e2b9c18b8a.zip
runqemu: Use different nfs paths for qemuarm and qemux86
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@878 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 1eda1c99b..dead347ea 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -41,7 +41,7 @@ if [ "$MACHINE" == "qemuarm" ]; then
fi
if [ "$TYPE" == "nfs" ]; then
dd if=/dev/zero of=/tmp/blank bs=1024 count=8192
- sudo $QEMU -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/qemuarm rw ip=192.168.7.2::192.168.7.1:255.255.255.0" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=$OEROOT/scripts/qemu-ifup -M versatilepb -hda /tmp/blank
+ sudo $QEMU -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/nfs/qemuarm rw ip=192.168.7.2::192.168.7.1:255.255.255.0" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=$OEROOT/scripts/qemu-ifup -M versatilepb -hda /tmp/blank
rm /tmp/blank
fi
fi
@@ -62,7 +62,7 @@ if [ "$MACHINE" == "qemux86" ]; then
fi
if [ "$TYPE" == "nfs" ]; then
dd if=/dev/zero of=/tmp/blank bs=1024 count=8192
- sudo $QEMU -std-vga -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/qemuarm rw ip=192.168.7.2::192.168.7.1:255.255.255.0" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=$OEROOT/scripts/qemu-ifup -hda /tmp/blank
+ sudo $QEMU -std-vga -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/nfs/qemux86 rw ip=192.168.7.2::192.168.7.1:255.255.255.0" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=$OEROOT/scripts/qemu-ifup -hda /tmp/blank
rm /tmp/blank
fi
fi