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

(From OE-Core rev: edd7b7f9f1cea921bdc9480c2a120f6abc6b0c9c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2013-02-08 13:46:35 -08:00 committed by Richard Purdie
parent f7273d122b
commit 05ee8bc4d5
1 changed files with 1 additions and 0 deletions

View File

@ -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