diff options
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 | |||
