diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-11-20 12:00:47 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-11-20 12:00:47 +0000 |
| commit | 31f507e2917e00b8e3a124ef0c0b06e2b9c18b8a (patch) | |
| tree | 4a6f25056ca1e77d21db1afdff41e34f5a0f3676 /scripts/runqemu.README | |
| parent | af60f8fd9acf5115d4d059fc23963082585719ce (diff) | |
| download | poky-31f507e2917e00b8e3a124ef0c0b06e2b9c18b8a.tar.gz | |
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.README')
| -rw-r--r-- | scripts/runqemu.README | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/runqemu.README b/scripts/runqemu.README index 713e273946..2f68b85cb8 100644 --- a/scripts/runqemu.README +++ b/scripts/runqemu.README | |||
| @@ -24,24 +24,26 @@ As root; | |||
| 24 | 24 | ||
| 25 | % apt-get install nfs-kernel-server | 25 | % apt-get install nfs-kernel-server |
| 26 | 26 | ||
| 27 | % mkdir /srv/qemuarm | 27 | % mkdir /srv/nfs/qemuarm |
| 28 | 28 | ||
| 29 | Edit via /etc/exports : | 29 | Edit via /etc/exports : |
| 30 | 30 | ||
| 31 | # /etc/exports: the access control list for filesystems which may be exported | 31 | # /etc/exports: the access control list for filesystems which may be exported |
| 32 | # to NFS clients. See exports(5). | 32 | # to NFS clients. See exports(5). |
| 33 | /srv/qemuarm 192.168.7.2(rw,no_root_squash) | 33 | /srv/nfs/qemuarm 192.168.7.2(rw,no_root_squash) |
| 34 | 34 | ||
| 35 | % /etc/init.d/nfs-kernel-server restart | 35 | % /etc/init.d/nfs-kernel-server restart |
| 36 | 36 | ||
| 37 | % modprobe tun | 37 | % modprobe tun |
| 38 | 38 | ||
| 39 | untar build/tmp/deploy/images/<built image>.rootfs.tar.bz2 into /srv/qemuarm | 39 | untar build/tmp/deploy/images/<built image>.rootfs.tar.bz2 into /srv/nfs/qemuarm |
| 40 | 40 | ||
| 41 | Finally, launch: | 41 | Finally, launch: |
| 42 | 42 | ||
| 43 | % runqemu <target> nfs | 43 | % runqemu <target> nfs |
| 44 | 44 | ||
| 45 | (Substitute qemux86 for qemuarm when using qemux86) | ||
| 46 | |||
| 45 | Notes | 47 | Notes |
| 46 | ===== | 48 | ===== |
| 47 | 49 | ||
