base.bbclass: Remove implicit dependency on license.bbclass
(From OE-Core rev: 28c06a32201351894546b3095f80daa84acf7b39) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d175cf096b
commit
e3532498df
|
@ -486,12 +486,13 @@ python () {
|
||||||
if license == "INVALID":
|
if license == "INVALID":
|
||||||
bb.fatal('This recipe does not have the LICENSE field set (%s)' % pn)
|
bb.fatal('This recipe does not have the LICENSE field set (%s)' % pn)
|
||||||
|
|
||||||
unmatched_license_flag = check_license_flags(d)
|
if bb.data.inherits_class('license', d):
|
||||||
if unmatched_license_flag:
|
unmatched_license_flag = check_license_flags(d)
|
||||||
bb.debug(1, "Skipping %s because it has a restricted license not"
|
if unmatched_license_flag:
|
||||||
" whitelisted in LICENSE_FLAGS_WHITELIST" % pn)
|
bb.debug(1, "Skipping %s because it has a restricted license not"
|
||||||
raise bb.parse.SkipPackage("because it has a restricted license not"
|
" whitelisted in LICENSE_FLAGS_WHITELIST" % pn)
|
||||||
" whitelisted in LICENSE_FLAGS_WHITELIST")
|
raise bb.parse.SkipPackage("because it has a restricted license not"
|
||||||
|
" whitelisted in LICENSE_FLAGS_WHITELIST")
|
||||||
|
|
||||||
# If we're building a target package we need to use fakeroot (pseudo)
|
# If we're building a target package we need to use fakeroot (pseudo)
|
||||||
# in order to capture permissions, owners, groups and special files
|
# in order to capture permissions, owners, groups and special files
|
||||||
|
|
Loading…
Reference in New Issue