nfs-utils: separate nfs-utils-client and nfs-utils-stats
* move python runtime dependency only to nfs-utils-stats (From OE-Core rev: fc774c29fe1036f9c0d4b4e13f1137ae0575d118) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
44b3dc359f
commit
10c191bd65
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue