summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@windriver.com>2022-02-21 10:36:13 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-21 23:37:27 +0000
commit0b46552625959b829d7f2712b642ef52003e5534 (patch)
tree14d683ba1ca85aed9f273a908006763dd014de61 /meta/classes/base.bbclass
parent2b22c16376abdd66ae4319a2561cc0fad56ec5e8 (diff)
downloadpoky-0b46552625959b829d7f2712b642ef52003e5534.tar.gz
meta: Rename LICENSE_FLAGS variable
(From OE-Core rev: 5c5b3bc563059ba728dc9724656cc69669f8e25f) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 87a4cb5fc7..be820ddb2c 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -542,9 +542,9 @@ python () {
542 unmatched_license_flags = check_license_flags(d) 542 unmatched_license_flags = check_license_flags(d)
543 if unmatched_license_flags: 543 if unmatched_license_flags:
544 if len(unmatched_license_flags) == 1: 544 if len(unmatched_license_flags) == 1:
545 message = "because it has a restricted license '{0}'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST".format(unmatched_license_flags[0]) 545 message = "because it has a restricted license '{0}'. Which is not whitelisted in LICENSE_FLAGS_ACCEPTED".format(unmatched_license_flags[0])
546 else: 546 else:
547 message = "because it has restricted licenses {0}. Which are not whitelisted in LICENSE_FLAGS_WHITELIST".format( 547 message = "because it has restricted licenses {0}. Which are not whitelisted in LICENSE_FLAGS_ACCEPTED".format(
548 ", ".join("'{0}'".format(f) for f in unmatched_license_flags)) 548 ", ".join("'{0}'".format(f) for f in unmatched_license_flags))
549 bb.debug(1, "Skipping %s %s" % (pn, message)) 549 bb.debug(1, "Skipping %s %s" % (pn, message))
550 raise bb.parse.SkipRecipe(message) 550 raise bb.parse.SkipRecipe(message)