diff options
author | Chong.Lu@windriver.com <Chong.Lu@windriver.com> | 2014-04-10 16:05:56 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-04-20 11:23:57 +0200 |
commit | 615f805ca0f322dcbe2659fcd942e4c2dba4c4a3 (patch) | |
tree | 05867e093b34a4ea879666ff88cf780f18fc5524 /meta-oe/recipes-support/lvm2 | |
parent | aa205514421045517a07e0e57437dbad59b6a524 (diff) | |
download | meta-openembedded-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>
Diffstat (limited to 'meta-oe/recipes-support/lvm2')
-rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 4 |
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 63d2cdb00..c6a9ec0f7 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= \ | |||
30 | --with-udev-prefix= \ | 30 | --with-udev-prefix= \ |
31 | " | 31 | " |
32 | 32 | ||
33 | PACKAGECONFIG += "${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" | ||
34 | |||
35 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux," | ||
36 | |||
33 | inherit autotools | 37 | inherit autotools |
34 | 38 | ||
35 | do_install_append() { | 39 | do_install_append() { |