[oe-commits] Khem Raj : nfs-utils: Create the default statdpath

git at git.openembedded.org git at git.openembedded.org
Mon Feb 11 14:45:49 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: edd7b7f9f1cea921bdc9480c2a120f6abc6b0c9c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=edd7b7f9f1cea921bdc9480c2a120f6abc6b0c9c

Author: Khem Raj <raj.khem at gmail.com>
Date:   Fri Feb  8 13:46:35 2013 -0800

nfs-utils: Create the default statdpath

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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../nfs-utils/nfs-utils_1.2.7.bb                   |    1 +
 1 files changed, 1 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 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





More information about the Openembedded-commits mailing list