diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-04-26 20:52:43 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-05-13 22:32:38 -0400 |
commit | e7a13cbbc39fd61d8192f5d4427111f666c9ab8b (patch) | |
tree | 86f64d4b7de17cf3e07617381ceefa95df0f3941 | |
parent | 89e2b594dcfd0643b84830dce5e7a5e2cbb046cd (diff) | |
download | meta-virtualization-e7a13cbbc39fd61d8192f5d4427111f666c9ab8b.tar.gz |
containerd: consolidate to "containerd"
We no longer need the split between container-docker and
containerd-opencontainers and dependent layers have been
given over a year to adapt.
We do keep the provides and rprovides around for a bit
longer, but those will also be removed in the future.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | conf/layer.conf | 2 | ||||
-rw-r--r-- | recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch (renamed from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch) | 0 | ||||
-rw-r--r-- | recipes-containers/containerd/containerd/0001-Makefile-update-default-PACKAGE-to-v2.patch (renamed from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-update-default-PACKAGE-to-v2.patch) | 0 | ||||
-rw-r--r-- | recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch (renamed from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch) | 0 | ||||
-rw-r--r-- | recipes-containers/containerd/containerd_git.bb (renamed from recipes-containers/containerd/containerd-opencontainers_git.bb) | 8 |
5 files changed, 6 insertions, 4 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 7c8e3701..b7cbb092 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -40,7 +40,7 @@ LAYERRECOMMENDS_virtualization-layer = " \ | |||
40 | require conf/distro/include/virt_security_flags.inc | 40 | require conf/distro/include/virt_security_flags.inc |
41 | 41 | ||
42 | PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers" | 42 | PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers" |
43 | PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers" | 43 | PREFERRED_PROVIDER_virtual/containerd ?= "containerd" |
44 | PREFERRED_PROVIDER_virtual/docker ?= "docker-moby" | 44 | PREFERRED_PROVIDER_virtual/docker ?= "docker-moby" |
45 | 45 | ||
46 | # Sanity check for meta-virtualization layer. | 46 | # Sanity check for meta-virtualization layer. |
diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch b/recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch index 63498a86..63498a86 100644 --- a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch +++ b/recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch | |||
diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-update-default-PACKAGE-to-v2.patch b/recipes-containers/containerd/containerd/0001-Makefile-update-default-PACKAGE-to-v2.patch index 74e313b5..74e313b5 100644 --- a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-update-default-PACKAGE-to-v2.patch +++ b/recipes-containers/containerd/containerd/0001-Makefile-update-default-PACKAGE-to-v2.patch | |||
diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch b/recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch index 62580c6c..62580c6c 100644 --- a/recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch +++ b/recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch | |||
diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd_git.bb index ed73e398..4d900d01 100644 --- a/recipes-containers/containerd/containerd-opencontainers_git.bb +++ b/recipes-containers/containerd/containerd_git.bb | |||
@@ -21,8 +21,11 @@ CVE_VERSION = "v2.0.0-beta.0" | |||
21 | 21 | ||
22 | # EXTRA_OEMAKE += "GODEBUG=1" | 22 | # EXTRA_OEMAKE += "GODEBUG=1" |
23 | 23 | ||
24 | PROVIDES += "virtual/containerd" | 24 | # containerd-opencontainers is to provide compatibility with external |
25 | RPROVIDES:${PN} = "virtual-containerd" | 25 | # packagegroups / recipes that depend on the existing split of containerd |
26 | # between docker and opencontainers. We can drop it in the future. | ||
27 | PROVIDES += "virtual/containerd containerd-opencontainers" | ||
28 | RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers" | ||
26 | 29 | ||
27 | S = "${WORKDIR}/git/src/github.com/containerd/containerd/v2" | 30 | S = "${WORKDIR}/git/src/github.com/containerd/containerd/v2" |
28 | 31 | ||
@@ -96,4 +99,3 @@ COMPATIBLE_HOST = "^(?!(qemu)?mips).*" | |||
96 | 99 | ||
97 | RDEPENDS:${PN} += " ${VIRTUAL-RUNTIME_container_runtime}" | 100 | RDEPENDS:${PN} += " ${VIRTUAL-RUNTIME_container_runtime}" |
98 | 101 | ||
99 | CVE_PRODUCT = "containerd" | ||