Added text to distinguish licenses from sources and those from recipes when warnings are outputed.
Signed-off-by: Ida Delphine <[email protected]> --- meta/classes/package.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 14c8475cfa..782d9d00b3 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1780,8 +1780,9 @@ fi computedpkglicsperpkg.add(lic_) else: computedpkglicsperpkg.add(l) + # Displays warnings for licenses found in the recipes and not sources if spdx_lic - computedpkglicsperpkg: - bb.warn("License for package %s is %s vs %s" % (pkg, computedpkglicsperpkg, spdx_lic)) + bb.warn("License for package %s is %s (source SPDX headers) vs %s (LICENSE)" % (pkg, computedpkglicsperpkg, spdx_lic)) } emit_pkgdata[dirs] = "${PKGDESTWORK}/runtime ${PKGDESTWORK}/runtime-reverse ${PKGDESTWORK}/runtime-rprovides" -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147623): https://lists.openembedded.org/g/openembedded-core/message/147623 Mute This Topic: https://lists.openembedded.org/mt/80353565/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
