Skip to contentSkip to conversation

nfs-utils: Create the default statdpath

PATCH New Khem Raj 1 participant 1 message Feb 8, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 .../nfs-utils/nfs-utils_1.2.7.bb                   |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.7.bb +1 -0
index 5bad6f1..cf51f21 100644
@@ -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
Signature · 1 line
1.7.9.5