summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/nfs-utils/nfs-utils/bugfix-adjust-statd-service-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils/bugfix-adjust-statd-service-name.patch')
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/bugfix-adjust-statd-service-name.patch30
1 files changed, 19 insertions, 11 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/bugfix-adjust-statd-service-name.patch b/meta/recipes-connectivity/nfs-utils/nfs-utils/bugfix-adjust-statd-service-name.patch
index 822939f0d2..f13d7b380c 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils/bugfix-adjust-statd-service-name.patch
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/bugfix-adjust-statd-service-name.patch
@@ -12,20 +12,28 @@ instead but forgot to update the mount.nfs helper 'start-statd' accordingly.
12Upstream-Status: Inappropriate [other] 12Upstream-Status: Inappropriate [other]
13 13
14Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> 14Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
15
16Rebase it.
17
18Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
15--- 19---
16 utils/statd/start-statd | 2 +- 20 utils/statd/start-statd | 4 ++--
17 1 file changed, 1 insertion(+), 1 deletion(-) 21 1 file changed, 2 insertions(+), 2 deletions(-)
18 22
19Index: nfs-utils-2.1.1/utils/statd/start-statd 23diff --git a/utils/statd/start-statd b/utils/statd/start-statd
20=================================================================== 24index af5c950..df9b9be 100755
21--- nfs-utils-2.1.1.orig/utils/statd/start-statd 25--- a/utils/statd/start-statd
22+++ nfs-utils-2.1.1/utils/statd/start-statd 26+++ b/utils/statd/start-statd
23@@ -28,7 +28,7 @@ fi 27@@ -28,10 +28,10 @@ fi
24 # First try systemd if it's installed. 28 # First try systemd if it's installed.
25 if [ -d /run/systemd/system ]; then 29 if [ -d /run/systemd/system ]; then
26 # Quit only if the call worked. 30 # Quit only if the call worked.
27- systemctl start rpc-statd.service && exit 31- if systemctl start rpc-statd.service; then
28+ systemctl start nfs-statd.service && exit 32+ if systemctl start nfs-statd.service; then
33 # Ensure systemd knows not to stop rpc.statd or its dependencies
34 # on 'systemctl isolate ..'
35- systemctl add-wants --runtime remote-fs.target rpc-statd.service
36+ systemctl add-wants --runtime remote-fs.target nfs-statd.service
37 exit 0
38 fi
29 fi 39 fi
30
31 cd /