summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2016-04-11 00:29:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-11 22:02:03 +0100
commit9e5370d2e67b0525dd7b955a22e771520cb40861 (patch)
tree8723bf3adaae4b906f3ec7cb54f59a0d6e60272f /meta
parent07682c1bfbcfe30ace5fad8d4e04bb901322ee92 (diff)
downloadpoky-9e5370d2e67b0525dd7b955a22e771520cb40861.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: 48d1a2882bedc1c955071b3602dc640b530fbc47) Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/nfs-utils/files/bugfix-adjust-statd-service-name.patch34
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb1
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 @@
1From 398fed3bb0350cb1229e54e7020ae0e044c206d1 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Ulrich=20=C3=96lmann?= <u.oelmann@pengutronix.de>
3Date: Wed, 17 Feb 2016 08:33:45 +0100
4Subject: bugfix: adjust statd service name
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream uses 'rpc-statd.service' and Yocto introduced 'nfs-statd.service'
10instead but forgot to update the mount.nfs helper 'start-statd' accordingly.
11
12Upstream-Status: Inappropriate [other]
13
14Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
15---
16 utils/statd/start-statd | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/utils/statd/start-statd b/utils/statd/start-statd
20index 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--
332.1.4
34
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
index 42101de795..f346fdc6c9 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
@@ -31,6 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x
31 file://proc-fs-nfsd.mount \ 31 file://proc-fs-nfsd.mount \
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://bugfix-adjust-statd-service-name.patch \
34" 35"
35 36
36SRC_URI[md5sum] = "8de676b9ff34b8f9addc1d0800fabdf8" 37SRC_URI[md5sum] = "8de676b9ff34b8f9addc1d0800fabdf8"