[oe] [PATCH 2/2] lvm2: add explicit selinux support control
Chong Lu
Chong.Lu at windriver.com
Thu Apr 10 08:05:56 UTC 2014
package has configure options controlling selinux support,
so we want to explicitly use them via PACKAGECONFIG.
Signed-off-by: Joe Slater <jslater at windriver.com>
Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
---
meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 63d2cdb..c6a9ec0 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -30,6 +30,10 @@ EXTRA_OECONF = "--with-user= \
--with-udev-prefix= \
"
+PACKAGECONFIG += "${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
+
+PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,"
+
inherit autotools
do_install_append() {
--
1.8.1.2
More information about the Openembedded-devel
mailing list