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>
This commit is contained in:
Ralph Siemsen 2021-04-28 11:44:09 -04:00 committed by Bruce Ashfield
parent 550a408083
commit 903b3a1bde
3 changed files with 5 additions and 0 deletions

View File

@ -70,3 +70,5 @@ SYSTEMD_SERVICE_docker-registry = "${@bb.utils.contains('DISTRO_FEATURES','syste
SYSTEMD_AUTO_ENABLE_docker-registry = "enable" SYSTEMD_AUTO_ENABLE_docker-registry = "enable"
RDEPENDS_${PN}-ptest_remove = "${PN}" RDEPENDS_${PN}-ptest_remove = "${PN}"
CVE_PRODUCT = "docker_registry"

View File

@ -52,3 +52,5 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f
DOCKER_VERSION = "20.10.6-ce" DOCKER_VERSION = "20.10.6-ce"
PV = "${DOCKER_VERSION}+git${SRCREV_docker}" PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
CVE_PRODUCT = "docker"

View File

@ -56,3 +56,4 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f
DOCKER_VERSION = "20.10.6" DOCKER_VERSION = "20.10.6"
PV = "${DOCKER_VERSION}+git${SRCREV_moby}" PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
CVE_PRODUCT = "docker"