From: Ross Burton Date: Mon, 23 Oct 2023 17:38:22 +0000 (+0100) Subject: cve-check: slightly more verbose warning when adding the same package twice X-Git-Tag: uninative-4.4~1213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1179faec8583a8b7df192cf1cbf221f0e3001fc;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git cve-check: slightly more verbose warning when adding the same package twice Occasionally the cve-check tool will warn that it is adding the same package twice. Knowing what this package is might be the first step towards understanding where this message comes from. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/cve_check.py b/meta/lib/oe/cve_check.py index 3979d521d10..c0ab22d25ea 100644 --- a/meta/lib/oe/cve_check.py +++ b/meta/lib/oe/cve_check.py @@ -172,7 +172,7 @@ def cve_check_merge_jsons(output, data): for product in output["package"]: if product["name"] == data["package"][0]["name"]: - bb.error("Error adding the same package twice") + bb.error("Error adding the same package %s twice" % product["name"]) return output["package"].append(data["package"][0])