diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2022-02-21 15:39:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-21 23:44:24 +0000 |
commit | cc07ffe8f7734008cb56a73549fce2ef1d4aa033 (patch) | |
tree | a46e3f61ea77d293790083779767de326865cb95 /meta/classes/base.bbclass | |
parent | 0b78f36432680b833d3f028645b9d9387587f477 (diff) | |
download | poky-cc07ffe8f7734008cb56a73549fce2ef1d4aa033.tar.gz |
meta: Further LICENSE_FLAGS variable updates
Add further tweaks to comments and variable names for license variable change.
(From OE-Core rev: 4125d86f1d3adc53230c02bce4bab46b8c21116f)
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.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index be820ddb2c..227f1f5a75 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_ACCEPTED".format(unmatched_license_flags[0]) | 545 | message = "because it has a restricted license '{0}'. Which is not listed 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_ACCEPTED".format( | 547 | message = "because it has restricted licenses {0}. Which are not listed 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) |