From: Gregory CLEMENT Date: Fri, 24 Jul 2020 15:43:51 +0000 (+0200) Subject: package/pkg-utils.mk: report the list of ignored CVEs in show-info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9c9f23f9a063c3a19ae52677242845bf8799da9;p=buildroot.git package/pkg-utils.mk: report the list of ignored CVEs in show-info 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 Signed-off-by: Thomas Petazzoni --- 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