summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-11-03 13:28:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-03 13:49:23 +0000
commit5cdac8795d5192477884178ef85884d49354c081 (patch)
tree97b7b53fda16c640dbb70f9c8ffeec19a30d59f4 /meta
parent7b119ca128afbdb599259484bf1cccb09b19ee76 (diff)
downloadpoky-5cdac8795d5192477884178ef85884d49354c081.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: 699863be46fab91d5729fce1dc5b795761247f98) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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])