diff options
author | Zhang Xiao <xiao.zhang@windriver.com> | 2013-12-19 13:35:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-20 12:26:30 +0000 |
commit | 553fa36c409b7d9f4ed41537cc17ed37450cd120 (patch) | |
tree | 32005a98abb7761b3e109278ea55d44c2d9abda4 /meta/recipes-connectivity/nfs-utils | |
parent | dd50c4d8a0cff2c4e0b8ff54d9ecf33d00301800 (diff) | |
download | poky-553fa36c409b7d9f4ed41537cc17ed37450cd120.tar.gz |
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.
(From OE-Core rev: 73f94bed2c7603e1b3ded6ebd1a72ba237ff6e3d)
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.9.bb | 5 |
1 files 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 80074cbe48..45eacd970e 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" | |||
16 | inherit useradd | 16 | inherit useradd |
17 | 17 | ||
18 | USERADD_PACKAGES = "${PN}-client" | 18 | USERADD_PACKAGES = "${PN}-client" |
19 | USERADD_PARAM_${PN}-client = "-d /var/lib/nfs -r -s /bin/false rpcuser" | 19 | USERADD_PARAM_${PN}-client = "--system --home-dir /var/lib/nfs \ |
20 | --shell /bin/false --user-group rpcuser" | ||
20 | 21 | ||
21 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.bz2 \ | 22 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.bz2 \ |
22 | file://0001-configure-Allow-to-explicitly-disable-nfsidmap.patch \ | 23 | file://0001-configure-Allow-to-explicitly-disable-nfsidmap.patch \ |
@@ -41,7 +42,7 @@ INITSCRIPT_PACKAGES = "${PN} ${PN}-client" | |||
41 | INITSCRIPT_NAME = "nfsserver" | 42 | INITSCRIPT_NAME = "nfsserver" |
42 | INITSCRIPT_PARAMS = "defaults" | 43 | INITSCRIPT_PARAMS = "defaults" |
43 | INITSCRIPT_NAME_${PN}-client = "nfscommon" | 44 | INITSCRIPT_NAME_${PN}-client = "nfscommon" |
44 | INITSCRIPT_PARAMS_${PN}-client = "start 44 S ." | 45 | INITSCRIPT_PARAMS_${PN}-client = "defaults 19 21" |
45 | 46 | ||
46 | inherit autotools update-rc.d systemd | 47 | inherit autotools update-rc.d systemd |
47 | 48 | ||