From aba81b64679ec0b1809946cb480e261af47f7625 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Mon, 30 Apr 2012 21:58:00 +0200 Subject: nfs-utils: don't try to unload nfsd module * When nfsserver get's stopped, "modprobe -r nfsd" may hang indefinitely. As there's no need to unload the module, just remove the call to modprobe. Signed-off-by: Andreas Oberritter Signed-off-by: Richard Purdie --- meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver | 8 -------- meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'meta/recipes-connectivity') diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver index 69c871855..e460e26af 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver @@ -105,14 +105,6 @@ stop_nfsd(){ } then echo done - # This will remove, recursively, dependencies - echo -n 'removing nfsd kernel module: ' - if modprobe -r nfsd - then - echo done - else - echo failed - fi else echo failed fi 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 d047940fd..eb18aaaa9 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 @@ -12,7 +12,7 @@ DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers" RDEPENDS_${PN} = "portmap" RRECOMMENDS_${PN} = "kernel-module-nfsd" -PR = "r3" +PR = "r4" SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.bz2 \ file://nfs-utils-1.0.6-uclibc.patch \ -- cgit v1.2.3