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:14 +0000 |
commit | 699863be46fab91d5729fce1dc5b795761247f98 (patch) | |
tree | 9169aaa42a6c99f3947c223eab0e10f254caaace | |
parent | f3d9dd947e678078b57b4b607e231b702c26dd4a (diff) | |
download | openembedded-core-699863be46fab91d5729fce1dc5b795761247f98.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.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): 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]) |