summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/mcstrans/0001-mcstrans-fix-the-init-script.patch
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2017-09-04 22:59:46 -0700
committerMark Hatle <mark.hatle@windriver.com>2017-09-13 19:48:51 -0500
commitd8d6ac6a5de6cc37e61ed48ea3a91c138bc4d213 (patch)
tree3c6bcc776b80577b20288a49fc177911c4f0c2a9 /recipes-security/selinux/mcstrans/0001-mcstrans-fix-the-init-script.patch
parent9b70823774000acf803f0400b3cc7216e6116c99 (diff)
downloadmeta-selinux-d8d6ac6a5de6cc37e61ed48ea3a91c138bc4d213.tar.gz
mcstrans: add package 2.7 (20170804)
Move policycoreutils/mcstrans to mcstrans: * Move and rebase patches: - mcstrans-de-bashify.patch - 0001-mcstrans-fix-the-init-script.patch * Remove useless patch: - enable-mcstrans.patch * Cleanup policycoreutils_2.7.bb and policycoreutils.inc. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Update policycoreutils_git.bb Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'recipes-security/selinux/mcstrans/0001-mcstrans-fix-the-init-script.patch')
-rw-r--r--recipes-security/selinux/mcstrans/0001-mcstrans-fix-the-init-script.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-security/selinux/mcstrans/0001-mcstrans-fix-the-init-script.patch b/recipes-security/selinux/mcstrans/0001-mcstrans-fix-the-init-script.patch
new file mode 100644
index 0000000..5f7163d
--- /dev/null
+++ b/recipes-security/selinux/mcstrans/0001-mcstrans-fix-the-init-script.patch
@@ -0,0 +1,28 @@
1[PATCH] mcstrans: fix the init script
2
3Upstream-Status: Inappropriate [embedded specific]
4
5replace daemon with start-stop-daemon, due to not daemon functions
6
7Signed-off-by: Roy Li <rongqing.li@windriver.com>
8Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
9---
10 src/mcstrans.init | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/mcstrans.init b/src/mcstrans.init
14index 2804ec0..c660290 100644
15--- a/src/mcstrans.init
16+++ b/src/mcstrans.init
17@@ -51,7 +51,7 @@ start(){
18 fi
19
20 unset HOME MAIL USER USERNAME
21- daemon $prog "$EXTRAOPTIONS"
22+ start-stop-daemon --start --quiet --exec $prog -- "$EXTRAOPTIONS"
23 RETVAL=$?
24 echo
25 if test $RETVAL = 0 ; then
26--
271.9.1
28