aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2017-09-21 14:47:21 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-22 22:50:48 +0000
commit1a1595cbe453bfb37096efd2d953e5d8e8d5a4d3 (patch)
tree32af16cfd90c8b27bc5365b543de573e091c038b
parent6dd7d705791eacda20a5ed44738d56b578318bab (diff)
downloadmeta-openembedded-contrib-1a1595cbe453bfb37096efd2d953e5d8e8d5a4d3.tar.gz
meta-openembedded-contrib-1a1595cbe453bfb37096efd2d953e5d8e8d5a4d3.tar.bz2
meta-openembedded-contrib-1a1595cbe453bfb37096efd2d953e5d8e8d5a4d3.zip
lvm2: disable thin provisioning support if GPLv3 incompatible
Disable thin provisioning support for lvm2 if it is set GPLv3 incompatible. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index ab8db9cba8..9791554a99 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -23,7 +23,7 @@ inherit autotools-brokensep pkgconfig systemd
LVM2_PACKAGECONFIG = "dmeventd lvmetad"
LVM2_PACKAGECONFIG_append_class-target = " \
${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \
- thin-provisioning-tools \
+ ${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPLv3', '', 'thin-provisioning-tools', d)} \
udev \
"