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 | |
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')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch | 34 | ||||
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | 1 |
2 files changed, 35 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 | |||
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb index ea006564d7..a6268f3d47 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | |||
@@ -32,6 +32,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x | |||
32 | file://nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch \ | 32 | file://nfs-utils-Do-not-pass-CFLAGS-to-gcc-while-building.patch \ |
33 | file://nfs-utils-debianize-start-statd.patch \ | 33 | file://nfs-utils-debianize-start-statd.patch \ |
34 | file://0001-nfs-utils-statd-fix-a-segfault-caused-by-improper-us.patch \ | 34 | file://0001-nfs-utils-statd-fix-a-segfault-caused-by-improper-us.patch \ |
35 | file://bugfix-adjust-statd-service-name.patch \ | ||
35 | " | 36 | " |
36 | 37 | ||
37 | SRC_URI[md5sum] = "cd6b568c2e9301cc3bfac09d87fbbc0b" | 38 | SRC_URI[md5sum] = "cd6b568c2e9301cc3bfac09d87fbbc0b" |