If a layer adds a new license, for example: http://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/tree/meta-arm-bsp/custom-licenses/STM-SLA0044-Rev5 And meta-oe is a dependent layer, then check-layers fails: lvm2:do_configure: b802854a81ce9143e8c0b7d9f839e3198222cde02dd8ebf831504d4af52d023f -> 2b5f9d7acaa8843a3624a9acfc50d8dbee24b33a826a793f9128fb65b59a01fc bitbake-diffsigs --task lvm2 do_configure --signature b802854a81ce9143e8c0b7d9f839e3198222cde02dd8ebf831504d4af52d023f 2b5f9d7acaa8843a3624a9acfc50d8dbee24b33a826a793f9128fb65b59a01fc NOTE: Starting bitbake server... basehash changed from 060c530f471b0b7646e598ca92c980518f98b5dec7a39bbf5c0d122adc61a8a5 to 043201e125c1ae9e4a84a09f0563a59352e636c77d9640fc936aa40994852671 Variable AVAILABLE_LICENSES value changed: "... SSPL-1 {+STM-SLA0044-Rev5+} Simple-2.0 ..." This is because the lvm2 recipe uses the license logic: LVM2_PACKAGECONFIG_append_class-target = " \ ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \ ${@incompatible_license_contains('GPLv3', '', 'thin-provisioning-tools', d)} \ "
I think we need to change the licensing code so that AVAILABLE_LICENSES isn't used in these contexts. Maybe have a flag limiting it to core licenses for the purposes of the functions?
would an override help? We force folks to use overrides or some sort of check for DISTRO_FEATURE to work around this
triaging
Mingli, Please check if we still see this bug on master.
Bulk move of 64 bugs to 4.3 M3 after a quick review. If a bug is actually fixed, please add a commit link and resolve it. -- Randy for YP bug team.
Moved to M4.
Bulk move to 5.0 M1. -- Randy
Bulk move of bugs owned by "unassigned" from 5.0-M2 to 5.0-M3.
Richard thinks we got rid of the AVAILABLE license check. Mingli, can you check on that?
AVAILABLE_LICENSES was removed in oe-core bf08d9ccb9cbc749a571af3d33140bcae0e252a6.