From c6398215c07c88f873dd388a7290726ad00ca46a Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Tue, 18 Nov 2025 18:38:59 +0530 Subject: [PATCH] policycoreutils: remove reference to obsolete code The code referenced no longer exists [1]. It was refactored later to change the way modules are loaded [2]. Remove reference to the code, comment and creation of directory as it can be set to something else as well. [1] https://github.com/SELinuxProject/selinux/commit/565ea9832e841075e362db4d188cc7ebb0d4c35e [2] https://github.com/SELinuxProject/selinux/commit/2ff279e21e4715ac49e094b5fae8bc8e84b9e417 Signed-off-by: Anuj Mittal Signed-off-by: Yi Zhao --- recipes-security/selinux/policycoreutils_3.9.bb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/recipes-security/selinux/policycoreutils_3.9.bb b/recipes-security/selinux/policycoreutils_3.9.bb index 443e18b..c2a3871 100644 --- a/recipes-security/selinux/policycoreutils_3.9.bb +++ b/recipes-security/selinux/policycoreutils_3.9.bb @@ -171,10 +171,4 @@ do_install:append:class-target() { install -d ${D}${sysconfdir}/pam.d/ install -m 0644 ${UNPACKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ fi - - # /var/lib/selinux is involved by seobject.py: - # + dirname = "/var/lib/selinux" - # and it's required for running command: - # $ semanage permissive [OPTS] - install -d ${D}${localstatedir}/lib/selinux }