From 392a44eeb60ae97d6976c9f9e91e03f695395a8b Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 23 Sep 2013 07:51:46 -0500 Subject: policycoreutils: avoid shell for checking target-special actions do_install was modified to only do the special actions in the target case, instead of using shell to check what mode we were running in. Signed-off-by: Mark Hatle Signed-off-by: Joe MacDonald --- recipes-security/selinux/policycoreutils.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc index 1acc19f..dfd65e3 100644 --- a/recipes-security/selinux/policycoreutils.inc +++ b/recipes-security/selinux/policycoreutils.inc @@ -103,9 +103,7 @@ do_install_virtclass-native() { done } -do_install_append() { - test "${CLASSOVERRIDE}" = "class-native" && return 0 - +do_install_append_class-target() { if [ -e ${WORKDIR}/pam.d ]; then install -d ${D}${sysconfdir}/pam.d/ install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ -- cgit v1.2.3-54-g00ecf