]> code.ossystems Code Review - openembedded-core.git/commit
nfs-utils: change owner/group of directories in do_install
authorChen Qi <Qi.Chen@windriver.com>
Fri, 7 Nov 2014 08:47:19 +0000 (16:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:16 +0000 (10:17 +0000)
commit10b5adcc6d3d3ae1ffe64de72777da091ba98274
treea7bc4b00dd2beb3a51a74e825821dd99b1767919
parent6ba03a72b1bed2f6367d2a1486ef1436bdd44a5b
nfs-utils: change owner/group of directories in do_install

Previously, the owners/groups of directories like /var/lib/nfs/statd
are changed in the init script, /etc/init.d/nfscommon. This is actually
a workaround. We need to change them at do_install time.

This patch fixes the above problem by changing owners/groups at do_install
time.

Besides, configuration option '--with-staduser=nobody' is changed to be
'--with-statduser=rpcuser'. And /var/lib/nfs/statd/state is modified to have
permission 0644, just like other distros (ubuntu, fedora, etc.) do.

(From OE-Core rev: 8c27a1e25ae42a435ab7d290cab40f94f9286243)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon
meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb