Skip to content

fix whitelist processing does not play well with wildcards in INCOMPATIBLE_LICENSES

Hongxu Jia openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3base/license.bbclass: expand wildcards in INCOMPATIBLE_LICENSEmeta/classes/base.bbclass meta/classes/license.bbclass meta/conf/documentation.conf+27 -20 replies
2/3default-versions.inc: let INCOMPATIBLE_LICENSE supports wildcardmeta/conf/distro/include/default-versions.inc+1 -10 replies
3/3libproxy: let INCOMPATIBLE_LICENSE supports wildcardmeta/recipes-support/libproxy/libproxy_0.4.11.bb+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] fix whitelist processing does not play well with wildcards in INCOMPATIBLE_LICENSES

Test Steps:

mpfr is "GPLv3 & LGPLv3", less is "GPLv3+ | BSD-2-Clause" but listed in WHITELIST_GPL-3.0 So while INCOMPATIBLE_LICENSE = "*GPL-3", we could build less, but skip mpfr.

$ bitbake less
...
NOTE: Tasks Summary: Attempted 587 tasks of which 440 didn't need to be rerun and all succeeded.
...
$ bitbake libiconv
...
ERROR: Nothing PROVIDES 'mpfr'
ERROR: mpfr was skipped: incompatible with license GPLv3 & LGPLv3
...

//Hongxu

The following changes since commit ec6377bcf52d105cd23ac6bbbeddd38fee9337e4:

bitbake: bitbake-user-manual-metadata.xml: Updated do_package_write example (2014-12-09 22:25:36 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-incompatible_license
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-incompatible_license

Hongxu Jia (3):
base/license.bbclass: expand wildcards in INCOMPATIBLE_LICENSE default-versions.inc: let INCOMPATIBLE_LICENSE supports wildcard
libproxy: let INCOMPATIBLE_LICENSE supports wildcard

 meta/classes/base.bbclass                        |  2 +-
 meta/classes/license.bbclass                     | 25 ++++++++++++++++++++++++
 meta/conf/distro/include/default-versions.inc    |  2 +-
 meta/conf/documentation.conf                     |  2 +-
 meta/recipes-support/libproxy/libproxy_0.4.11.bb |  2 +-
 5 files changed, 29 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.1