diff options
author | Ross Burton <ross.burton@arm.com> | 2023-06-21 15:22:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-24 12:21:48 +0100 |
commit | f8bf2c551729978348f4908bad791f76f636d323 (patch) | |
tree | 006a7a1674b0f0f4835ac4fbe6918e0d763a32f9 /meta/classes-global/base.bbclass | |
parent | 74511c360a961c9f714a8ffc555d1a85890c19c5 (diff) | |
download | poky-f8bf2c551729978348f4908bad791f76f636d323.tar.gz |
base: improve LICENSE_FLAGS_DETAILS output
Don't prefix the output of LICENSE_FLAGS_DETAILS with "For further
details, see" so that recipes can put arbitrary text in their license
details instead of being limited to a specific sentence structure.
(From OE-Core rev: d606ad5c237d0e28f09f0aa783e83846cbca8d21)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/base.bbclass')
-rw-r--r-- | meta/classes-global/base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass index 976a2ddee4..cbda8d12f0 100644 --- a/meta/classes-global/base.bbclass +++ b/meta/classes-global/base.bbclass | |||
@@ -520,7 +520,7 @@ python () { | |||
520 | message = "Has a restricted license '%s' which is not listed in your LICENSE_FLAGS_ACCEPTED." % unmatched | 520 | message = "Has a restricted license '%s' which is not listed in your LICENSE_FLAGS_ACCEPTED." % unmatched |
521 | details = d.getVarFlag("LICENSE_FLAGS_DETAILS", unmatched) | 521 | details = d.getVarFlag("LICENSE_FLAGS_DETAILS", unmatched) |
522 | if details: | 522 | if details: |
523 | message += " For further details, see %s." % details | 523 | message += details |
524 | bb.debug(1, "Skipping %s: %s" % (pn, message)) | 524 | bb.debug(1, "Skipping %s: %s" % (pn, message)) |
525 | raise bb.parse.SkipRecipe(message) | 525 | raise bb.parse.SkipRecipe(message) |
526 | 526 | ||