]> code.ossystems Code Review - openembedded-core.git/commit
INCOMPATIBLE_LICENSE re-work
authorSaul Wold <Saul.Wold@windriver.com>
Thu, 24 Feb 2022 01:26:59 +0000 (17:26 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Feb 2022 15:43:55 +0000 (15:43 +0000)
commita6a9bb8010776dde936613679d6511f82c82c13f
tree987ab7a36eb971117c2154a039065077213c9077
parent20fcb2c809364b349249da2f7ffbdfbbeada73fa
INCOMPATIBLE_LICENSE re-work

This re-writes the INCOMPATIBLE_LICENSE checking code to replace
the WHITELIST_<lic> with
INCOMPATIBLE_LICENSE_EXCEPTIONS = '<pkg>:<lic> <pkg>:<lic> ...'

This initial set of changes leaves most of the code structure in
place, but the code in base.bbclass needs to be re-written to make
the check more consistent around packages (PKGS) and not recipe
names (PN). This also is taking into account the changes for SPDX
licenses.

This is a work in progress. This version does test successfully
with oe-selftest. This will be refactored as multiple patches as
appropriate.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
meta/classes/license_image.bbclass
meta/classes/multilib.bbclass
meta/conf/bitbake.conf
meta/conf/distro/include/default-distrovars.inc
meta/lib/oeqa/selftest/cases/incompatible_lic.py