docker: add CVE_PRODUCT to recipes
PATCH 1/3 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 <[email protected]>
--- .../docker-distribution/docker-distribution_git.bb | 2 ++ recipes-containers/docker/docker-ce_git.bb | 2 ++ recipes-containers/docker/docker-moby.bb | 2 ++ 3 files changed, 6 insertions(+)
recipes-containers/docker-distribution/docker-distribution_git.bb +2 -0
@@ -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"
recipes-containers/docker/docker-ce_git.bb +2 -0
@@ -132,3 +132,5 @@ FILES_${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker" FILES_${PN}-contrib += "${datadir}/docker/check-config.sh" RDEPENDS_${PN}-contrib += "bash" + +CVE_PRODUCT = "docker"
recipes-containers/docker/docker-moby.bb +2 -0
@@ -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"
Signature · 1 line
2.17.1
PATCH 2/3 containerd: add CVE_PRODUCT to recipe
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 <[email protected]>
--- recipes-containers/containerd/containerd-opencontainers_git.bb | 2 ++ 1 file changed, 2 insertions(+)
recipes-containers/containerd/containerd-opencontainers_git.bb +2 -0
@@ -118,3 +118,5 @@ INSANE_SKIP_${PN} += "ldflags already-stripped" COMPATIBLE_HOST = "^(?!(qemu)?mips).*" RDEPENDS_${BPN} += " virtual/runc" + +CVE_PRODUCT = "containerd"
Signature · 1 line
2.17.1
PATCH 3/3 runc: add CVE_PRODUCT to recipes
In reply to Ralph SiemsenAllows 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 <[email protected]>
--- recipes-containers/runc/runc-docker_git.bb | 2 ++ recipes-containers/runc/runc-opencontainers_git.bb | 2 ++ 2 files changed, 4 insertions(+)
recipes-containers/runc/runc-docker_git.bb +2 -0
@@ -10,3 +10,5 @@ SRC_URI = "git://github.com/opencontainers/runc;nobranch=1;name=runc-docker \ " RUNC_VERSION = "1.0.0-rc93" + +CVE_PRODUCT = "runc"
recipes-containers/runc/runc-opencontainers_git.bb +2 -0
@@ -6,3 +6,5 @@ SRC_URI = " \ file://0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch \ " RUNC_VERSION = "1.0.0-rc93" + +CVE_PRODUCT = "runc"
Signature · 1 line
2.17.1