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 920fe0dd6b
commit 8c0e83ff1a
3 changed files with 6 additions and 0 deletions

View File

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

View File

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

View File

@ -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"