From fc774c29fe1036f9c0d4b4e13f1137ae0575d118 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 13 Oct 2011 13:44:13 +0200 Subject: nfs-utils: separate nfs-utils-client and nfs-utils-stats * move python runtime dependency only to nfs-utils-stats Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'meta/recipes-connectivity/nfs-utils') 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 -- cgit v1.2.3