summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-04-30 21:58:00 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-03 15:15:25 +0100
commitaba81b64679ec0b1809946cb480e261af47f7625 (patch)
tree1d5b3386506092817d4ac20db2ec53f236547680
parentafa0efc3473fb5ba88d95594e382da2e03145c3b (diff)
downloadopenembedded-core-aba81b64679ec0b1809946cb480e261af47f7625.tar.gz
openembedded-core-aba81b64679ec0b1809946cb480e261af47f7625.tar.bz2
openembedded-core-aba81b64679ec0b1809946cb480e261af47f7625.zip
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 <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver8
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb2
2 files changed, 1 insertions, 9 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
index 69c871855f..e460e26af0 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 d047940fd6..eb18aaaa94 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 \