summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Siemsen <ralph.siemsen@linaro.org>2021-04-28 11:44:09 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-04-29 23:08:39 -0400
commit903b3a1bdede3c79f8c1c04730e40a6e89db4d85 (patch)
tree71632ce9cf143a5f8e38828d0fdbedf244aff2a9
parent550a4080839184988487a8a64188c2de9fed956b (diff)
downloadmeta-virtualization-903b3a1bdede3c79f8c1c04730e40a6e89db4d85.tar.gz
docker: add CVE_PRODUCT to recipes
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 <ralph.siemsen@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/docker-distribution/docker-distribution_git.bb2
-rw-r--r--recipes-containers/docker/docker-ce_git.bb2
-rw-r--r--recipes-containers/docker/docker-moby_git.bb1
3 files changed, 5 insertions, 0 deletions
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb
index 6bfc345c..71a88ace 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
70SYSTEMD_AUTO_ENABLE_docker-registry = "enable" 70SYSTEMD_AUTO_ENABLE_docker-registry = "enable"
71 71
72RDEPENDS_${PN}-ptest_remove = "${PN}" 72RDEPENDS_${PN}-ptest_remove = "${PN}"
73
74CVE_PRODUCT = "docker_registry"
diff --git a/recipes-containers/docker/docker-ce_git.bb b/recipes-containers/docker/docker-ce_git.bb
index 42e97a18..9921ff9d 100644
--- a/recipes-containers/docker/docker-ce_git.bb
+++ b/recipes-containers/docker/docker-ce_git.bb
@@ -52,3 +52,5 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f
52 52
53DOCKER_VERSION = "20.10.6-ce" 53DOCKER_VERSION = "20.10.6-ce"
54PV = "${DOCKER_VERSION}+git${SRCREV_docker}" 54PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
55
56CVE_PRODUCT = "docker"
diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb
index 1d76dff8..10a50393 100644
--- a/recipes-containers/docker/docker-moby_git.bb
+++ b/recipes-containers/docker/docker-moby_git.bb
@@ -56,3 +56,4 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f
56DOCKER_VERSION = "20.10.6" 56DOCKER_VERSION = "20.10.6"
57PV = "${DOCKER_VERSION}+git${SRCREV_moby}" 57PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
58 58
59CVE_PRODUCT = "docker"