diff options
author | Joe MacDonald <joe_macdonald@mentor.com> | 2015-08-07 15:16:45 -0400 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-08-07 15:17:52 -0400 |
commit | 54875dcb50f5e40fc86d6fe98dde244bfe4751af (patch) | |
tree | 43e809dbf752883b369f511d41e6ab1571bba9d1 | |
parent | 4eeed5b532c9b8336d3d53581de93e5959251ca0 (diff) | |
download | meta-selinux-54875dcb50f5e40fc86d6fe98dde244bfe4751af.tar.gz |
mcstrans: remove dependency on bash in initscript
There were no apparent bashisms in mcstrans.init, so remove the dependency
on bash.
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | recipes-security/selinux/policycoreutils.inc | 1 | ||||
-rw-r--r-- | recipes-security/selinux/policycoreutils/mcstrans-de-bashify.patch | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc index 9871339..3a2e449 100644 --- a/recipes-security/selinux/policycoreutils.inc +++ b/recipes-security/selinux/policycoreutils.inc | |||
@@ -10,6 +10,7 @@ LICENSE = "GPLv2+" | |||
10 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ | 10 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ |
11 | file://policycoreutils-fixfiles-de-bashify.patch \ | 11 | file://policycoreutils-fixfiles-de-bashify.patch \ |
12 | file://policycoreutils-sandbox-de-bashify.patch \ | 12 | file://policycoreutils-sandbox-de-bashify.patch \ |
13 | file://mcstrans-de-bashify.patch \ | ||
13 | " | 14 | " |
14 | 15 | ||
15 | PAM_SRC_URI = "file://pam.d/newrole \ | 16 | PAM_SRC_URI = "file://pam.d/newrole \ |
diff --git a/recipes-security/selinux/policycoreutils/mcstrans-de-bashify.patch b/recipes-security/selinux/policycoreutils/mcstrans-de-bashify.patch new file mode 100644 index 0000000..86141a2 --- /dev/null +++ b/recipes-security/selinux/policycoreutils/mcstrans-de-bashify.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | --- | ||
2 | mcstrans/src/mcstrans.init | 2 +- | ||
3 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
4 | |||
5 | --- a/mcstrans/src/mcstrans.init | ||
6 | +++ b/mcstrans/src/mcstrans.init | ||
7 | @@ -1,4 +1,4 @@ | ||
8 | -#!/bin/bash | ||
9 | +#!/bin/sh | ||
10 | # | ||
11 | # mcstransd This starts and stops mcstransd | ||
12 | # | ||