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 52eb86c17e
commit 1fcb4e75f8
3 changed files with 6 additions and 0 deletions

View File

@ -68,3 +68,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

@ -129,3 +129,5 @@ FILES_${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker"
FILES_${PN}-contrib += "${datadir}/docker/check-config.sh" FILES_${PN}-contrib += "${datadir}/docker/check-config.sh"
RDEPENDS_${PN}-contrib += "bash" RDEPENDS_${PN}-contrib += "bash"
CVE_PRODUCT = "docker"

View File

@ -148,3 +148,5 @@ FILES_${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker"
FILES_${PN}-contrib += "${datadir}/docker/check-config.sh" FILES_${PN}-contrib += "${datadir}/docker/check-config.sh"
RDEPENDS_${PN}-contrib += "bash" RDEPENDS_${PN}-contrib += "bash"
CVE_PRODUCT = "docker"