nfs-utils: Create the default statdpath

Submitted by Khem Raj on Feb. 8, 2013, 9:46 p.m.

Details

Message ID 1360359996-13509-1-git-send-email-raj.khem@gmail.com
State Accepted
Commit 05ee8bc4d56b282c8d32b0a13df3cfedf93423bc
Headers show

Commit Message

Khem Raj Feb. 8, 2013, 9:46 p.m.
packaging these extra directories is needed
Otherwise rpcbind wont start as it
expects /var/lib/nfs/statd to exist.

This fixes the issue where automounter fails
to mount since rpcbind did not start correctly

Failed to open directory sm: No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../nfs-utils/nfs-utils_1.2.7.bb                   |    1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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 5bad6f1..cf51f21 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
@@ -56,6 +56,7 @@  RDEPENDS_${PN}-stats = "python"
 
 do_install_append () {
 	install -d ${D}${sysconfdir}/init.d
+	install -d ${D}${localstatedir}/lib/nfs/statd
 	install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver
 
 	# the following are built by CC_FOR_BUILD