lvm2: refactoring code to disable package config thin-provisioning-tools
cover lvm2: refactoring code to disable package config thin-provisioning-tools
From: Kai Kang <[email protected]>
Hi Martin,
Khem and Andre gave comments on the commit of my last commit for lvm2 to filter gplv3 license. So I refactoring the code to filter all the variations of gplv3.
Sorry for inconvenience.
Regards,
Kai
Kai Kang (1):
lvm2: refactoring code to disable package config
thin-provisioning-tools
meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.14.1
PATCH 1/1 lvm2: refactoring code to disable package config thin-provisioning-tools
From: Kai Kang <[email protected]>
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'.
--- meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/lvm2/lvm2.inc +2 -2
@@ -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 \ "
Signature · 1 line
2.14.1