diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2016-03-07 15:52:49 -0500 |
---|---|---|
committer | Philip Tricca <flihp@twobit.us> | 2016-03-17 02:35:46 +0000 |
commit | fad5528d09fbcc988ec59720b4e882e4a53dc061 (patch) | |
tree | e66caf7d07223f3c168cffc9ef142f6891aa2d5f | |
parent | 85aa491a790c3f514f7844435bc5ec844bb7f0fa (diff) | |
download | meta-selinux-fad5528d09fbcc988ec59720b4e882e4a53dc061.tar.gz |
refpolicy: update for change in libsemanage 2.5
libsemanage 2.5 renamed /var/lib/selinux/tmp to /var/lib/selinux/final;
update the refpolicy recipe accordingly.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Philip Tricca <flihp@twobit.us>
-rw-r--r-- | recipes-security/refpolicy/refpolicy_common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc index 5acbf3e..0b0b2fd 100644 --- a/recipes-security/refpolicy/refpolicy_common.inc +++ b/recipes-security/refpolicy/refpolicy_common.inc | |||
@@ -114,8 +114,8 @@ EOF | |||
114 | # Create policy store and build the policy | 114 | # Create policy store and build the policy |
115 | semodule -p ${D} -s ${POLICY_NAME} -n -B | 115 | semodule -p ${D} -s ${POLICY_NAME} -n -B |
116 | rm -f ${D}${sysconfdir}/selinux/semanage.conf | 116 | rm -f ${D}${sysconfdir}/selinux/semanage.conf |
117 | # no need to leave tmp dir created by semanage lanying around | 117 | # no need to leave final dir created by semanage laying around |
118 | rm -rf ${D}${localstatedir}/lib/selinux/tmp | 118 | rm -rf ${D}${localstatedir}/lib/selinux/final |
119 | } | 119 | } |
120 | 120 | ||
121 | install_misc_files () { | 121 | install_misc_files () { |