mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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
This commit is contained in:
@@ -24,24 +24,26 @@ As root;
|
||||
|
||||
% apt-get install nfs-kernel-server
|
||||
|
||||
% mkdir /srv/qemuarm
|
||||
% mkdir /srv/nfs/qemuarm
|
||||
|
||||
Edit via /etc/exports :
|
||||
|
||||
# /etc/exports: the access control list for filesystems which may be exported
|
||||
# to NFS clients. See exports(5).
|
||||
/srv/qemuarm 192.168.7.2(rw,no_root_squash)
|
||||
/srv/nfs/qemuarm 192.168.7.2(rw,no_root_squash)
|
||||
|
||||
% /etc/init.d/nfs-kernel-server restart
|
||||
|
||||
% modprobe tun
|
||||
|
||||
untar build/tmp/deploy/images/<built image>.rootfs.tar.bz2 into /srv/qemuarm
|
||||
untar build/tmp/deploy/images/<built image>.rootfs.tar.bz2 into /srv/nfs/qemuarm
|
||||
|
||||
Finally, launch:
|
||||
|
||||
% runqemu <target> nfs
|
||||
|
||||
(Substitute qemux86 for qemuarm when using qemux86)
|
||||
|
||||
Notes
|
||||
=====
|
||||
|
||||
|
||||
Reference in New Issue
Block a user