[yocto] mount.nfs missing

Rich Wilson richaw at gmail.com
Tue Apr 29 08:01:27 PDT 2014


I have a working target hardware, except that /sbin/mount.nfs
is missing from my root fs. I was able to get nfs to work by
manually copying mount.nfs (and brethren) from my development
system to the SD card, but it would be nice to hot have to do this!

In local.conf, I have added the following:

MACHINE ?= "zedboard-zynq7"
DISTRO_FEATURES_append = " nfs"
CORE_IMAGE_EXTRA_INSTALL += " nfs-utils"

and built using

rw at linux-cyy8:~/Downloads/poky-dora-10.0.1/build> bitbake core-image-basic
Loading cache: 100%
|#########################################################################################|
ETA:  00:00:00
Loaded 1194 entries from dependency cache.
Parsing recipes: 100%
|#######################################################################################|
Time: 00:00:00
Parsing of 862 .bb files complete (861 cached, 1 parsed). 1194 targets, 54
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.20.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "openSUSE-project-12.3"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "zedboard-zynq7"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5.1"
TUNE_FEATURES     = " armv7a vfp neon zynq"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp    = "<unknown>:<unknown>"
meta-xilinx       = "dora:aa7d677515ab7d45bbd3bdd6c5383f4143147c6d"

NOTE: Preparing runqueue
<snip>

mount.nfs is missing from the output:

rw at linux-cyy8:~/Downloads/poky-dora-10.0.1/build/tmp/deploy/images/zedboard-zynq7>
tar -tzf core-image-minimal-zedboard-zynq7.tar.gz | grep nfs
./etc/init.d/nfsserver
./etc/init.d/umountnfs.sh
./etc/init.d/mountnfs.sh
./etc/rc0.d/K20nfsserver
./etc/rc0.d/S31umountnfs.sh
./etc/nfs-utils.conf
./etc/rc5.d/S20nfsserver
./etc/rc2.d/S20nfsserver
./etc/rc4.d/S20nfsserver
./etc/rc6.d/K20nfsserver
./etc/rc6.d/S31umountnfs.sh
./etc/network/if-pre-up.d/nfsroot
./etc/rcS.d/S45mountnfs.sh
./etc/rc1.d/K20nfsserver
./etc/rc3.d/S20nfsserver
./usr/sbin/rpc.nfsd
./usr/sbin/nfsstat
./usr/lib/libnfsidmap.so.0.3.0
./usr/lib/libnfsidmap.so.0
./usr/lib/libnfsidmap/
./usr/lib/libnfsidmap/static.so
./usr/lib/libnfsidmap/nsswitch.so
./var/lib/nfs/
./var/lib/nfs/rmtab
./var/lib/nfs/sm/
./var/lib/nfs/xtab
./var/lib/nfs/etab
./var/lib/nfs/state
./var/lib/nfs/v4recovery/
./var/lib/nfs/statd/
./var/lib/nfs/sm.bak/
rw at linux-cyy8
:~/Downloads/poky-dora-10.0.1/build/tmp/deploy/images/zedboard-zynq7>

I get the same result if I try core-image-basic.

-- 
Rich Wilson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140429/6ad4de6b/attachment.html>


More information about the yocto mailing list