summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb
diff options
context:
space:
mode:
authorRich Dubielzig <rich.dubielzig@windriver.com>2013-02-28 10:43:47 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-02 12:56:55 +0000
commit52d2947300e693c37006f020f9fc428f200c6bc9 (patch)
treeed4e21de535c92c8d1e9f22d29e55912412531c6 /meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb
parent1242dc5a70b65ab0ab9cc42b9a33a200b15ff7c0 (diff)
downloadpoky-52d2947300e693c37006f020f9fc428f200c6bc9.tar.gz
Add scratch directory for NFS upcall state storage
When the /var/lib/nfs/v4recovery directory is not present, NFSD cannot record the upcall state and cannot end the 90-second grace period on startup. This is true even when NFS4 is not being served according to nfsstat. More details and discussion here: https://lkml.org/lkml/2012/6/11/206 (From OE-Core rev: c7cb5cb92770615ffd302f737d0fef3f2300c321) Signed-off-by: Rich Dubielzig <rich.dubielzig@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb')
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb
index cf51f21557..cd97810e10 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb
@@ -58,6 +58,8 @@ do_install_append () {
58 install -d ${D}${sysconfdir}/init.d 58 install -d ${D}${sysconfdir}/init.d
59 install -d ${D}${localstatedir}/lib/nfs/statd 59 install -d ${D}${localstatedir}/lib/nfs/statd
60 install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver 60 install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver
61 # kernel code as of 3.8 hard-codes this path as a default
62 install -d ${D}/var/lib/nfs/v4recovery
61 63
62 # the following are built by CC_FOR_BUILD 64 # the following are built by CC_FOR_BUILD
63 rm -f ${D}${sbindir}/rpcdebug 65 rm -f ${D}${sbindir}/rpcdebug