Allows the yocto cve-checker to flag CVEs, which would otherwise go
unreported due to the package name not matching NIST NVD data.

Signed-off-by: Ralph Siemsen <[email protected]>
---
 .../docker-distribution/docker-distribution_git.bb              | 2 ++
 recipes-containers/docker/docker-ce_git.bb                      | 2 ++
 recipes-containers/docker/docker-moby.bb                        | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb 
b/recipes-containers/docker-distribution/docker-distribution_git.bb
index 6bfc345..71a88ac 100644
--- a/recipes-containers/docker-distribution/docker-distribution_git.bb
+++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
@@ -70,3 +70,5 @@ SYSTEMD_SERVICE_docker-registry = 
"${@bb.utils.contains('DISTRO_FEATURES','syste
 SYSTEMD_AUTO_ENABLE_docker-registry = "enable"
 
 RDEPENDS_${PN}-ptest_remove = "${PN}"
+
+CVE_PRODUCT = "docker_registry"
diff --git a/recipes-containers/docker/docker-ce_git.bb 
b/recipes-containers/docker/docker-ce_git.bb
index a107934..be45be2 100644
--- a/recipes-containers/docker/docker-ce_git.bb
+++ b/recipes-containers/docker/docker-ce_git.bb
@@ -132,3 +132,5 @@ FILES_${PN} += "${systemd_unitdir}/system/* 
${sysconfdir}/docker"
 
 FILES_${PN}-contrib += "${datadir}/docker/check-config.sh"
 RDEPENDS_${PN}-contrib += "bash"
+
+CVE_PRODUCT = "docker"
diff --git a/recipes-containers/docker/docker-moby.bb 
b/recipes-containers/docker/docker-moby.bb
index 31f3ce9..0e716db 100644
--- a/recipes-containers/docker/docker-moby.bb
+++ b/recipes-containers/docker/docker-moby.bb
@@ -150,3 +150,5 @@ FILES_${PN} += "${systemd_unitdir}/system/* 
${sysconfdir}/docker"
 
 FILES_${PN}-contrib += "${datadir}/docker/check-config.sh"
 RDEPENDS_${PN}-contrib += "bash"
+
+CVE_PRODUCT = "docker"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6476): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6476
Mute This Topic: https://lists.yoctoproject.org/mt/82433218/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to