diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2016-04-20 05:24:28 +0000 |
---|---|---|
committer | Philip Tricca <flihp@twobit.us> | 2016-04-20 05:24:28 +0000 |
commit | c063abf694d991ad3c9dd36ae4c281b94ff7c7e3 (patch) | |
tree | a13779f6ccd1066eb742dc480b95504c522f6804 | |
parent | 3eab039fd081069c3088601d8e5b515dfccc26e8 (diff) | |
download | meta-selinux-c063abf694d991ad3c9dd36ae4c281b94ff7c7e3.tar.gz |
refpolicy_common: Use POLICY_NAME instaed of POLICY_TYPE for SELINUXTYPE in config.
Signed-off-by: Philip Tricca <flihp@twobit.us>
-rw-r--r-- | recipes-security/refpolicy/refpolicy_common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc index 10e972d..6112c28 100644 --- a/recipes-security/refpolicy/refpolicy_common.inc +++ b/recipes-security/refpolicy/refpolicy_common.inc | |||
@@ -162,7 +162,7 @@ SELINUX=${DEFAULT_ENFORCING} | |||
162 | # mls - Multi Level Security protection. | 162 | # mls - Multi Level Security protection. |
163 | # targeted - Targeted processes are protected. | 163 | # targeted - Targeted processes are protected. |
164 | # mcs - Multi Category Security protection. | 164 | # mcs - Multi Category Security protection. |
165 | SELINUXTYPE=${POLICY_TYPE} | 165 | SELINUXTYPE=${POLICY_NAME} |
166 | " > ${WORKDIR}/config | 166 | " > ${WORKDIR}/config |
167 | install -d ${D}/${sysconfdir}/selinux | 167 | install -d ${D}/${sysconfdir}/selinux |
168 | install -m 0644 ${WORKDIR}/config ${D}/${sysconfdir}/selinux/ | 168 | install -m 0644 ${WORKDIR}/config ${D}/${sysconfdir}/selinux/ |