[oe-commits] [meta-openembedded] 01/36: lvm2: refactoring code to disable package config thin-provisioning-tools

git at git.openembedded.org git at git.openembedded.org
Wed Oct 4 14:52:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit e257af489347851d0781b3882f711f580f245fbb
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Sun Sep 24 08:51:20 2017 +0800

    lvm2: refactoring code to disable package config thin-provisioning-tools
    
    There are 2 GPL variations 'GPLv3' and 'GPLv3.0' for canonical (SPDX) form
    of 'GPL-3.0' now. Refactoring code to use function
    incompatible_license_contains() from license.bbclass to filter them all
    to disable package config 'thin-provisioning-tools'.
    
    Signed-off-by: Kai Kang <kai.kang at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index d2c1474..289e07d 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -19,12 +19,12 @@ SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
            "
 S = "${WORKDIR}/LVM2.${PV}"
 
-inherit autotools-brokensep pkgconfig systemd
+inherit autotools-brokensep pkgconfig systemd license
 
 LVM2_PACKAGECONFIG = "dmeventd lvmetad"
 LVM2_PACKAGECONFIG_append_class-target = " \
     ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \
-    ${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPLv3', '', 'thin-provisioning-tools', d)} \
+    ${@incompatible_license_contains('GPLv3', '', 'thin-provisioning-tools', d)} \
     udev \
 "
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list