From 615f805ca0f322dcbe2659fcd942e4c2dba4c4a3 Mon Sep 17 00:00:00 2001 From: "Chong.Lu@windriver.com" Date: Thu, 10 Apr 2014 16:05:56 +0800 Subject: 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 Signed-off-by: Chong Lu Signed-off-by: Martin Jansa --- meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-oe') 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() { -- cgit 1.2.3-korg