libsemanage 2.5 renamed /var/lib/selinux/tmp to /var/lib/selinux/final;
update the refpolicy recipe accordingly.

Signed-off-by: Stephen Smalley <s...@tycho.nsa.gov>
---
 recipes-security/refpolicy/refpolicy_common.inc | 4 ++--
 1 file 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
        # Create policy store and build the policy
        semodule -p ${D} -s ${POLICY_NAME} -n -B
        rm -f ${D}${sysconfdir}/selinux/semanage.conf
-       # no need to leave tmp dir created by semanage lanying around
-       rm -rf ${D}${localstatedir}/lib/selinux/tmp
+       # no need to leave final dir created by semanage laying around
+       rm -rf ${D}${localstatedir}/lib/selinux/final
 }
 
 install_misc_files () {
-- 
2.4.3

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to