From: Michael Opdenacker Date: Fri, 8 Sep 2023 11:55:27 +0000 (+0200) Subject: base: add newline before LICENSE_FLAGS_DETAILS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e027da9265e58df016fc3ebe45e4400f0e5c7a7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git base: add newline before LICENSE_FLAGS_DETAILS To improve readability and avoid putting one inside LICENSE_FLAGS_DETAILS. Signed-off-by: Michael Opdenacker Signed-off-by: Alexandre Belloni --- diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass index 7c774d250f8..f57f9cf827a 100644 --- a/meta/classes-global/base.bbclass +++ b/meta/classes-global/base.bbclass @@ -527,7 +527,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 += details + message += "\n" + details bb.debug(1, "Skipping %s: %s" % (pn, message)) raise bb.parse.SkipRecipe(message)