aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong.Lu@windriver.com <Chong.Lu@windriver.com>2014-04-10 16:05:56 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-04-20 11:23:57 +0200
commit615f805ca0f322dcbe2659fcd942e4c2dba4c4a3 (patch)
tree05867e093b34a4ea879666ff88cf780f18fc5524
parentaa205514421045517a07e0e57437dbad59b6a524 (diff)
downloadmeta-openembedded-contrib-615f805ca0f322dcbe2659fcd942e4c2dba4c4a3.tar.gz
lvm2: add explicit selinux support control
package has configure options controlling selinux support, so we want to explicitly use them via PACKAGECONFIG. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 63d2cdb00f..c6a9ec0f76 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() {