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>
This commit is contained in:
Chong.Lu@windriver.com
2014-04-10 16:05:56 +08:00
committed by Martin Jansa
parent aa20551442
commit 615f805ca0
+4
View File
@@ -30,6 +30,10 @@ EXTRA_OECONF = "--with-user= \
--with-udev-prefix= \ --with-udev-prefix= \
" "
PACKAGECONFIG += "${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,"
inherit autotools inherit autotools
do_install_append() { do_install_append() {