From 903b3a1bdede3c79f8c1c04730e40a6e89db4d85 Mon Sep 17 00:00:00 2001 From: Ralph Siemsen Date: Wed, 28 Apr 2021 11:44:09 -0400 Subject: 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 Signed-off-by: Bruce Ashfield --- recipes-containers/docker-distribution/docker-distribution_git.bb | 2 ++ recipes-containers/docker/docker-ce_git.bb | 2 ++ recipes-containers/docker/docker-moby_git.bb | 1 + 3 files changed, 5 insertions(+) (limited to 'recipes-containers') 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 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 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 DOCKER_VERSION = "20.10.6-ce" PV = "${DOCKER_VERSION}+git${SRCREV_docker}" + +CVE_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 DOCKER_VERSION = "20.10.6" PV = "${DOCKER_VERSION}+git${SRCREV_moby}" +CVE_PRODUCT = "docker" -- cgit v1.2.3-54-g00ecf