diff options
author | Ulrich Ölmann <u.oelmann@pengutronix.de> | 2016-02-17 10:30:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-18 07:39:31 +0000 |
commit | 3df8701689ced03021b9ea9c08d5e1b2299ae2ae (patch) | |
tree | 2d7e95365f6ba35b0f3485dcd0461a8fcc876024 /meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch | |
parent | c15bf5533a29abf5c8e1a18036329ca09c27116f (diff) | |
download | poky-3df8701689ced03021b9ea9c08d5e1b2299ae2ae.tar.gz |
nfs-utils: bugfix: adjust name of statd service unit
Upstream nfs-utils use 'rpc-statd.service' and Yocto introduced
'nfs-statd.service' instead but forgot to update the mount.nfs helper
'start-statd' accordingly.
(From OE-Core rev: cda5b219d62fece0e67ee766290e73a6636bd652)
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch b/meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch new file mode 100644 index 0000000000..14bd4036af --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 398fed3bb0350cb1229e54e7020ae0e044c206d1 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Ulrich=20=C3=96lmann?= <u.oelmann@pengutronix.de> | ||
3 | Date: Wed, 17 Feb 2016 08:33:45 +0100 | ||
4 | Subject: bugfix: adjust statd service name | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream uses 'rpc-statd.service' and Yocto introduced 'nfs-statd.service' | ||
10 | instead but forgot to update the mount.nfs helper 'start-statd' accordingly. | ||
11 | |||
12 | Upstream-Status: Inappropriate [other] | ||
13 | |||
14 | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> | ||
15 | --- | ||
16 | utils/statd/start-statd | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/utils/statd/start-statd b/utils/statd/start-statd | ||
20 | index 8211a90..3c2aa6f 100755 | ||
21 | --- a/utils/statd/start-statd | ||
22 | +++ b/utils/statd/start-statd | ||
23 | @@ -16,7 +16,7 @@ fi | ||
24 | # First try systemd if it's installed. | ||
25 | if [ -d /run/systemd/system ]; then | ||
26 | # Quit only if the call worked. | ||
27 | - systemctl start rpc-statd.service && exit | ||
28 | + systemctl start nfs-statd.service && exit | ||
29 | fi | ||
30 | |||
31 | # Fall back to launching it ourselves. | ||
32 | -- | ||
33 | 2.1.4 | ||
34 | |||