From 54875dcb50f5e40fc86d6fe98dde244bfe4751af Mon Sep 17 00:00:00 2001 From: Joe MacDonald Date: Fri, 7 Aug 2015 15:16:45 -0400 Subject: 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 --- recipes-security/selinux/policycoreutils.inc | 1 + .../selinux/policycoreutils/mcstrans-de-bashify.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 recipes-security/selinux/policycoreutils/mcstrans-de-bashify.patch 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+" SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ file://policycoreutils-fixfiles-de-bashify.patch \ file://policycoreutils-sandbox-de-bashify.patch \ + file://mcstrans-de-bashify.patch \ " 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 @@ +--- + mcstrans/src/mcstrans.init | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/mcstrans/src/mcstrans.init ++++ b/mcstrans/src/mcstrans.init +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # + # mcstransd This starts and stops mcstransd + # -- cgit v1.2.3-54-g00ecf