diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2012-04-30 21:58:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-03 15:15:25 +0100 |
commit | aba81b64679ec0b1809946cb480e261af47f7625 (patch) | |
tree | 1d5b3386506092817d4ac20db2ec53f236547680 /meta | |
parent | afa0efc3473fb5ba88d95594e382da2e03145c3b (diff) | |
download | openembedded-core-aba81b64679ec0b1809946cb480e261af47f7625.tar.gz openembedded-core-aba81b64679ec0b1809946cb480e261af47f7625.tar.bz2 openembedded-core-aba81b64679ec0b1809946cb480e261af47f7625.tar.xz 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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver | 8 | ||||
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb | 2 |
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 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 \ |