[oe-commits] Zhang Xiao : nfs-utils: modify the boot sequence of the init script

git at git.openembedded.org git at git.openembedded.org
Fri Dec 20 12:24:16 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 73f94bed2c7603e1b3ded6ebd1a72ba237ff6e3d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=73f94bed2c7603e1b3ded6ebd1a72ba237ff6e3d

Author: Zhang Xiao <xiao.zhang at windriver.com>
Date:   Thu Dec 19 13:35:32 2013 +0800

nfs-utils: modify the boot sequence of the init script

Move the nfscommon out of rcS and let it start just before
nfsserver. Modify the useradd parameter with long parameter
to make it more readable.

Signed-off-by: Zhang Xiao <xiao.zhang at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb
index 80074cb..45eacd9 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb
@@ -16,7 +16,8 @@ RRECOMMENDS_${PN} = "kernel-module-nfsd"
 inherit useradd
 
 USERADD_PACKAGES = "${PN}-client"
-USERADD_PARAM_${PN}-client = "-d /var/lib/nfs -r -s /bin/false rpcuser"
+USERADD_PARAM_${PN}-client = "--system  --home-dir /var/lib/nfs \
+			      --shell /bin/false --user-group rpcuser"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.bz2 \
            file://0001-configure-Allow-to-explicitly-disable-nfsidmap.patch \
@@ -41,7 +42,7 @@ INITSCRIPT_PACKAGES = "${PN} ${PN}-client"
 INITSCRIPT_NAME = "nfsserver"
 INITSCRIPT_PARAMS = "defaults"
 INITSCRIPT_NAME_${PN}-client = "nfscommon"
-INITSCRIPT_PARAMS_${PN}-client = "start 44 S ."
+INITSCRIPT_PARAMS_${PN}-client = "defaults 19 21"
 
 inherit autotools update-rc.d systemd
 



More information about the Openembedded-commits mailing list