[meta-selinux,01/12] libcgroup: drop bbappend

Submitted by Yi Zhao on Aug. 19, 2021, 4:46 a.m. | Patch ID: 180098

Details

Message ID 20210819044708.105282-1-yi.zhao@windriver.com
State New
Headers show

Commit Message

Yi Zhao Aug. 19, 2021, 4:46 a.m.
The content of the bbappend is already contained in libcgroup recipe.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 recipes-core/libcgroup/libcgroup_%.bbappend  |  1 -
 recipes-core/libcgroup/libcgroup_selinux.inc | 10 ----------
 2 files changed, 11 deletions(-)
 delete mode 100644 recipes-core/libcgroup/libcgroup_%.bbappend
 delete mode 100644 recipes-core/libcgroup/libcgroup_selinux.inc

Patch hide | download patch | download mbox

diff --git a/recipes-core/libcgroup/libcgroup_%.bbappend b/recipes-core/libcgroup/libcgroup_%.bbappend
deleted file mode 100644
index 7719d3b..0000000
--- a/recipes-core/libcgroup/libcgroup_%.bbappend
+++ /dev/null
@@ -1 +0,0 @@ 
-require ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', '${BPN}_selinux.inc', '', d)}
diff --git a/recipes-core/libcgroup/libcgroup_selinux.inc b/recipes-core/libcgroup/libcgroup_selinux.inc
deleted file mode 100644
index 7efdfd5..0000000
--- a/recipes-core/libcgroup/libcgroup_selinux.inc
+++ /dev/null
@@ -1,10 +0,0 @@ 
-EXTRA_OECONF:append:class-native = " --enable-pam=no"
-
-do_install:append() {
-	test ! -f ${D}${base_libdir}/security/pam_cgroup.so.0.0.0 || {
-		mv -f ${D}${base_libdir}/security/pam_cgroup.so.0.0.0 ${D}${base_libdir}/security/pam_cgroup.so
-		rm -f ${D}${base_libdir}/security/pam_cgroup.so.*
-	}
-}
-
-BBCLASSEXTEND = "native"