summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2015-10-12 15:13:19 +0200
committerAndreas Oberritter <obi@opendreambox.org>2015-10-12 15:13:19 +0200
commit93c563a47710f6a6667c735f1a2dd9582e771ee0 (patch)
tree9c181507ce6d753baec1ffc149e18afa9eef71f0
parentf1c93a1e6996ccb8bc643433e74947a152fda068 (diff)
downloadopenembedded-core-contrib-93c563a47710f6a6667c735f1a2dd9582e771ee0.tar.gz
openembedded-core-contrib-93c563a47710f6a6667c735f1a2dd9582e771ee0.tar.bz2
openembedded-core-contrib-93c563a47710f6a6667c735f1a2dd9582e771ee0.zip
Revert "nfs-utils: change file ownership for statd"
This reverts commit 87d244c925c37d3408874649a2092989c95acc24.
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb
index 0fdfe3fa2a..7c3f21874f 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb
@@ -57,7 +57,7 @@ SYSTEMD_SERVICE_${PN} = "nfs-server.service nfs-mountd.service"
SYSTEMD_SERVICE_${PN}-client = "nfs-statd.service"
# --enable-uuid is need for cross-compiling
-EXTRA_OECONF = "--with-statduser=rpcuser \
+EXTRA_OECONF = "--with-statduser=nobody \
--enable-mountconfig \
--enable-libmount-mount \
--disable-nfsv41 \
@@ -100,9 +100,8 @@ do_compile_prepend() {
}
do_install_append () {
- chown -R rpcuser:rpcuser ${D}${localstatedir}/lib/nfs/statd
-
install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${localstatedir}/lib/nfs/statd
install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver
install -m 0755 ${WORKDIR}/nfscommon ${D}${sysconfdir}/init.d/nfscommon