[Buildroot] [PATCH 14/17] package/pkg-utils.mk: add the CPE ID in show-info

Gregory CLEMENT gregory.clement at bootlin.com
Tue Oct 6 13:42:47 UTC 2020


Add the CPE ID of each package.

This information will be useful for a cve-checker.

Signed-off-by: Gregory CLEMENT <gregory.clement at bootlin.com>
---
 package/pkg-utils.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk
index f1d085ece1..99000a3043 100644
--- a/package/pkg-utils.mk
+++ b/package/pkg-utils.mk
@@ -130,6 +130,7 @@ define _json-info-pkg-details
 	"version": "$($(1)_DL_VERSION)",
 	"licenses": "$($(1)_LICENSE)",
 	"dl_dir": "$($(1)_DL_SUBDIR)",
+	"cpeid":  "$($(1)_CPE_ID)",
 	"downloads": [
 	$(foreach dl,$(sort $($(1)_ALL_DOWNLOADS)),
 		{
-- 
2.28.0




More information about the buildroot mailing list