diff options
author | Ross Burton <ross.burton@intel.com> | 2018-07-10 13:45:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-15 16:16:16 +0100 |
commit | 7aff75bcc3cf63e9fe49d6749feb1454f6a3eb06 (patch) | |
tree | 57306f25033672e7313f720c4de39419f031ea0d /meta/recipes-connectivity/nfs-utils/files/nfs-utils-debianize-start-statd.patch | |
parent | 6ebeeab6a6d195f1637ebf8c386de477a94e5f26 (diff) | |
download | poky-7aff75bcc3cf63e9fe49d6749feb1454f6a3eb06.tar.gz |
nfs-utils: remove libnfsidmap
As of nfs-utils 2.2.1 libnfsidmap has been integrated and isn't an external
requirement anymore.
Also consolidate nfs-utils patches into a single directory.
(From OE-Core rev: 98e8146553c912e869c174674c53e96d8ff01e57)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/files/nfs-utils-debianize-start-statd.patch')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/files/nfs-utils-debianize-start-statd.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/files/nfs-utils-debianize-start-statd.patch b/meta/recipes-connectivity/nfs-utils/files/nfs-utils-debianize-start-statd.patch deleted file mode 100644 index ede0dcefc4..0000000000 --- a/meta/recipes-connectivity/nfs-utils/files/nfs-utils-debianize-start-statd.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | [PATCH] nfs-utils: debianize start-statd | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | make start-statd command to use nfscommon configure, too. | ||
6 | |||
7 | Signed-off-by: Henrik Riomar <henrik.riomar@ericsson.com> | ||
8 | Signed-off-by: Li Wang <li.wang@windriver.com> | ||
9 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
10 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
11 | --- | ||
12 | utils/statd/start-statd | 10 +++++++++- | ||
13 | 1 file changed, 9 insertions(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/utils/statd/start-statd b/utils/statd/start-statd | ||
16 | index 2fd6039..f591b34 100755 | ||
17 | --- a/utils/statd/start-statd | ||
18 | +++ b/utils/statd/start-statd | ||
19 | @@ -17,6 +17,14 @@ then | ||
20 | # statd already running - must have been slow to respond. | ||
21 | exit 0 | ||
22 | fi | ||
23 | + | ||
24 | +# Read config | ||
25 | +DEFAULTFILE=/etc/default/nfs-common | ||
26 | +NEED_IDMAPD= | ||
27 | +if [ -f $DEFAULTFILE ]; then | ||
28 | + . $DEFAULTFILE | ||
29 | +fi | ||
30 | + | ||
31 | # First try systemd if it's installed. | ||
32 | if [ -d /run/systemd/system ]; then | ||
33 | # Quit only if the call worked. | ||
34 | @@ -25,4 +33,4 @@ fi | ||
35 | |||
36 | cd / | ||
37 | # Fall back to launching it ourselves. | ||
38 | -exec rpc.statd --no-notify | ||
39 | +exec rpc.statd --no-notify $STATDOPTS | ||
40 | -- | ||
41 | 2.6.6 | ||
42 | |||