[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH] nfs-utils: don't try to unload nfsd module
From: obi () opendreambox ! org (Andreas Oberritter)
Date: 2012-04-30 19:58:00
Message-ID: 1335815880-7346-1-git-send-email-obi () opendreambox ! org
[Download RAW message or body]
* 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 at opendreambox.org>
---
.../nfs-utils/nfs-utils/nfsserver | 8 --------
.../nfs-utils/nfs-utils_1.2.3.bb | 2 +-
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver \
b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver index 69c8718..e460e26 \
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 d047940..eb18aaa \
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 \
--
1.7.9.5
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic