summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-10-23 18:38:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-26 15:29:34 +0100
commitc1e7eed4f7e5c710f71c216231e44cf757f0454a (patch)
treebea16b65dad6e168b835f08cd5534b2437a68cea /meta/lib/oe
parenta9986a21842e22b0835071913edfd129bdc3346e (diff)
downloadpoky-c1e7eed4f7e5c710f71c216231e44cf757f0454a.tar.gz
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. (From OE-Core rev: c1179faec8583a8b7df192cf1cbf221f0e3001fc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/cve_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/cve_check.py b/meta/lib/oe/cve_check.py
index 3979d521d1..c0ab22d25e 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):
172 172
173 for product in output["package"]: 173 for product in output["package"]:
174 if product["name"] == data["package"][0]["name"]: 174 if product["name"] == data["package"][0]["name"]:
175 bb.error("Error adding the same package twice") 175 bb.error("Error adding the same package %s twice" % product["name"])
176 return 176 return
177 177
178 output["package"].append(data["package"][0]) 178 output["package"].append(data["package"][0])