From 1a1595cbe453bfb37096efd2d953e5d8e8d5a4d3 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Thu, 21 Sep 2017 14:47:21 +0800 Subject: 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 Signed-off-by: Martin Jansa --- meta-oe/recipes-support/lvm2/lvm2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-oe/recipes-support/lvm2') 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 \ " -- cgit 1.2.3-korg