summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-10-23 18:38:22 +0100
committerSteve Sakoman <steve@sakoman.com>2023-11-14 06:49:11 -1000
commit9200c6b310c700343e2a2453bf974c834928365e (patch)
tree662e71cdb1b8ca1f5b3faee5cb83e13b3c709693 /meta/lib
parentae28221a40f2d88986dde58d3b006098510d366f (diff)
downloadpoky-9200c6b310c700343e2a2453bf974c834928365e.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: 4b449d5dcbaebb0690a55cf45e3a735c2d8df101) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c1179faec8583a8b7df192cf1cbf221f0e3001fc) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib')
-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 42a77872e9..2efc4290af 100644
--- a/meta/lib/oe/cve_check.py
+++ b/meta/lib/oe/cve_check.py
@@ -159,7 +159,7 @@ def cve_check_merge_jsons(output, data):
159 159
160 for product in output["package"]: 160 for product in output["package"]:
161 if product["name"] == data["package"][0]["name"]: 161 if product["name"] == data["package"][0]["name"]:
162 bb.error("Error adding the same package twice") 162 bb.error("Error adding the same package %s twice" % product["name"])
163 return 163 return
164 164
165 output["package"].append(data["package"][0]) 165 output["package"].append(data["package"][0])