* [Buildroot] [git commit branch/next] package/pkg-utils.mk: report the list of ignored CVEs in show-info
@ 2020-08-28 8:22 Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2020-08-28 8:22 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=b9c9f23f9a063c3a19ae52677242845bf8799da9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Add the list of the CVEs to ignore for each package because they
already have a fix for it.
This information will be useful for a cve-checker.
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/pkg-utils.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk
index d88a14ab0f..4fcb076e21 100644
--- a/package/pkg-utils.mk
+++ b/package/pkg-utils.mk
@@ -119,6 +119,11 @@ define _json-info-pkg
"reverse_dependencies": [
$(call make-comma-list,$(sort $($(1)_RDEPENDENCIES)))
]
+ $(if $($(1)_IGNORE_CVES),
+ $(comma) "ignore_cves": [
+ $(call make-comma-list,$(sort $($(1)_IGNORE_CVES)))
+ ]
+ )
endef
define _json-info-pkg-details
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-28 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-28 8:22 [Buildroot] [git commit branch/next] package/pkg-utils.mk: report the list of ignored CVEs in show-info Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.