diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-11-14 09:48:52 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-12-19 11:09:21 -0500 |
commit | f6ae2e82ed5756a29b014afa477285775e2c68ac (patch) | |
tree | ed1512665c4256f1367c012494dd7b3eff973e6d /recipes-security/selinux/mcstrans/mcstrans-fix-the-init-script.patch | |
parent | 62ee1a51c20bb82d529bb104e6d21d6fa43ad218 (diff) | |
download | meta-selinux-f6ae2e82ed5756a29b014afa477285775e2c68ac.tar.gz |
mcstrans: uprev to 2.9 (20190315)
* Rebase patches
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'recipes-security/selinux/mcstrans/mcstrans-fix-the-init-script.patch')
-rw-r--r-- | recipes-security/selinux/mcstrans/mcstrans-fix-the-init-script.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-security/selinux/mcstrans/mcstrans-fix-the-init-script.patch b/recipes-security/selinux/mcstrans/mcstrans-fix-the-init-script.patch new file mode 100644 index 0000000..79be090 --- /dev/null +++ b/recipes-security/selinux/mcstrans/mcstrans-fix-the-init-script.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 4d918a9679d2902ca2d41fe769a4d76f07a67b5f Mon Sep 17 00:00:00 2001 | ||
2 | From: Roy Li <rongqing.li@windriver.com> | ||
3 | Date: Wed, 6 Nov 2019 22:13:33 +0800 | ||
4 | Subject: [PATCH] mcstrans: fix the init script | ||
5 | |||
6 | replace daemon with start-stop-daemon, due to not daemon functions | ||
7 | |||
8 | Upstream-Status: Inappropriate [embedded specific] | ||
9 | |||
10 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
11 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
12 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
13 | --- | ||
14 | src/mcstrans.init | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/src/mcstrans.init b/src/mcstrans.init | ||
18 | index 8b4737d..86c89ea 100644 | ||
19 | --- a/src/mcstrans.init | ||
20 | +++ b/src/mcstrans.init | ||
21 | @@ -51,7 +51,7 @@ start(){ | ||
22 | fi | ||
23 | |||
24 | unset HOME MAIL USER USERNAME | ||
25 | - daemon $prog "$EXTRAOPTIONS" | ||
26 | + start-stop-daemon --start --quiet --exec $prog -- "$EXTRAOPTIONS" | ||
27 | RETVAL=$? | ||
28 | echo | ||
29 | if test $RETVAL = 0 ; then | ||
30 | -- | ||
31 | 2.7.4 | ||
32 | |||