diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2014-09-21 20:44:29 +0200 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2017-06-26 22:57:13 +0200 |
commit | 94e12b7db94c44b7972f7d0b0c81cd49413eee47 (patch) | |
tree | 9a4725390a7bc6a5698bb98a168d336f4808cbbb /meta | |
parent | 6e593ce2f2ab13e4e27f46576ee47a06cb21e0dc (diff) | |
download | openembedded-core-contrib-94e12b7db94c44b7972f7d0b0c81cd49413eee47.tar.gz |
nfs-utils: change file ownership for statd
Otherwise, rpc.statd complains about "Running as root. chown
/var/lib/nfs/statd to choose different user" when started by
systemd.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb index c2324df0ac..ab56ccd5ac 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb @@ -112,6 +112,8 @@ do_compile_prepend() { } do_install_append () { + chown -R rpcuser:rpcuser ${D}${localstatedir}/lib/nfs/statd + install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver install -m 0755 ${WORKDIR}/nfscommon ${D}${sysconfdir}/init.d/nfscommon |