diff options
author | Ross Burton <ross.burton@arm.com> | 2023-11-03 13:28:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-03 13:49:23 +0000 |
commit | 5cdac8795d5192477884178ef85884d49354c081 (patch) | |
tree | 97b7b53fda16c640dbb70f9c8ffeec19a30d59f4 /meta/lib/oe/cve_check.py | |
parent | 7b119ca128afbdb599259484bf1cccb09b19ee76 (diff) | |
download | poky-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/lib/oe/cve_check.py')
-rw-r--r-- | meta/lib/oe/cve_check.py | 2 |
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]) |