summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/nfs-utils
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-10-13 13:44:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 13:37:20 +0100
commitfc774c29fe1036f9c0d4b4e13f1137ae0575d118 (patch)
tree00633d0091e28f38f225f9642b9a470ed944d279 /meta/recipes-connectivity/nfs-utils
parenta89710d79e81d4d0c509a7de796a2ee119e0962c (diff)
downloadopenembedded-core-fc774c29fe1036f9c0d4b4e13f1137ae0575d118.tar.gz
openembedded-core-fc774c29fe1036f9c0d4b4e13f1137ae0575d118.tar.bz2
openembedded-core-fc774c29fe1036f9c0d4b4e13f1137ae0575d118.tar.xz
openembedded-core-fc774c29fe1036f9c0d4b4e13f1137ae0575d118.zip
nfs-utils: separate nfs-utils-client and nfs-utils-stats
* move python runtime dependency only to nfs-utils-stats Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils')
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
index e8b0490b8..d047940fd 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
@@ -9,10 +9,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
# util-linux for libblkid
DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers"
-RDEPENDS_${PN} = "portmap python"
+RDEPENDS_${PN} = "portmap"
RRECOMMENDS_${PN} = "kernel-module-nfsd"
-PR = "r2"
+PR = "r3"
SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.bz2 \
file://nfs-utils-1.0.6-uclibc.patch \
@@ -45,6 +45,11 @@ EXTRA_OECONF = "--with-statduser=nobody \
INHIBIT_AUTO_STAGE = "1"
+PACKAGES =+ "${PN}-client ${PN}-stats"
+FILES_${PN}-client = "${base_sbindir}/*mount.nfs*"
+FILES_${PN}-stats = "${sbindir}/mountstats ${sbindir}/nfsiostat"
+RDEPENDS_${PN}-stats = "python"
+
do_install_append () {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver