From f8bf2c551729978348f4908bad791f76f636d323 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 21 Jun 2023 15:22:12 +0100 Subject: 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 Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- meta/classes-global/base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { message = "Has a restricted license '%s' which is not listed in your LICENSE_FLAGS_ACCEPTED." % unmatched details = d.getVarFlag("LICENSE_FLAGS_DETAILS", unmatched) if details: - message += " For further details, see %s." % details + message += details bb.debug(1, "Skipping %s: %s" % (pn, message)) raise bb.parse.SkipRecipe(message) -- cgit v1.2.3-54-g00ecf