[oe-commits] Chong.Lu at windriver.com : lvm2: add explicit selinux support control
git at git.openembedded.org
git at git.openembedded.org
Sun Apr 20 09:26:18 UTC 2014
Module: meta-openembedded.git
Branch: master
Commit: 615f805ca0f322dcbe2659fcd942e4c2dba4c4a3
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=615f805ca0f322dcbe2659fcd942e4c2dba4c4a3
Author: Chong.Lu at windriver.com <Chong.Lu at windriver.com>
Date: Thu Apr 10 16:05:56 2014 +0800
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 at windriver.com>
Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.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() {
More information about the Openembedded-commits
mailing list