]> code.ossystems Code Review - openembedded-core.git/commit
base/license.bbclass: expand wildcards in INCOMPATIBLE_LICENSE
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 15 Dec 2014 08:55:10 +0000 (16:55 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Dec 2014 17:54:14 +0000 (17:54 +0000)
commit3587653a8d8abc7cfed6a5c6ecfa72bee283e451
treea09489adb6e9eab93aa418f036eff84b5e983f25
parent5db535a91edea439c14e75726acd23e64bb1e2ea
base/license.bbclass: expand wildcards in INCOMPATIBLE_LICENSE

The whitelist processing in code in base.bbclass does not play well with
wildcards in INCOMPATIBLE_LICENSES. The code expects bad_licenses to
contain actual license names, not wildcards.

Add incompatible_license_contains to replace bb.utils.contains(
"INCOMPATIBLE_LICENSE", **, **, **, d)

[YOCTO #5592]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
meta/classes/base.bbclass
meta/classes/license.bbclass
meta/conf/documentation.conf