summaryrefslogtreecommitdiffstats
path: root/recipes-containers/containerd
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2017-02-20 02:00:20 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-02-20 02:06:22 -0500
commit7d6284a079748f919e3e0b8116649cfa5ff8ee8f (patch)
tree7a6f3a22b38f6ecac9631410e19a21904bed6efd /recipes-containers/containerd
parent776422fa046e0779b48ddfaaed4fb35651256258 (diff)
downloadmeta-virtualization-7d6284a079748f919e3e0b8116649cfa5ff8ee8f.tar.gz
runc/containerd: create virtual/runc and virtual/containerd
Since there are two implementations of runc and containerd that may not always be in sync, the docker variant, and the opencontainers variable, we create a virtual/* namespace for these components. Anything requiring runc or containerd should set a preferred provider to get the desired/tested variant. We set the default provider to the docker variants, since they are the primary use case for these components. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/containerd')
-rw-r--r--recipes-containers/containerd/containerd-docker_git.bb10
-rw-r--r--recipes-containers/containerd/containerd-opencontainers_git.bb9
-rw-r--r--recipes-containers/containerd/containerd.inc (renamed from recipes-containers/containerd/containerd_git.bb)6
3 files changed, 19 insertions, 6 deletions
diff --git a/recipes-containers/containerd/containerd-docker_git.bb b/recipes-containers/containerd/containerd-docker_git.bb
new file mode 100644
index 00000000..f6dcaeca
--- /dev/null
+++ b/recipes-containers/containerd/containerd-docker_git.bb
@@ -0,0 +1,10 @@
1include containerd.inc
2
3SRCREV = "03e5862ec0d8d3b3f750e19fca3ee367e13c090e"
4SRC_URI = "\
5 git://github.com/docker/containerd.git;branch=docker-1.13.x \
6 "
7CONTAINERD_VERSION = "0.2.3"
8
9PROVIDES += "virtual/containerd"
10RPROVIDES_${PN} = "virtual/containerd"
diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd-opencontainers_git.bb
new file mode 100644
index 00000000..37f85472
--- /dev/null
+++ b/recipes-containers/containerd/containerd-opencontainers_git.bb
@@ -0,0 +1,9 @@
1include containerd.inc
2
3SRCREV = "0ac3cd1be170d180b2baed755e8f0da547ceb267"
4SRC_URI = "git://github.com/docker/containerd.git;nobranch=1 \
5 "
6CONTAINERD_VERSION = "0.2.2"
7
8PROVIDES += "virtual/containerd"
9RPROVIDES_${PN} = "virtual/containerd"
diff --git a/recipes-containers/containerd/containerd_git.bb b/recipes-containers/containerd/containerd.inc
index 67011a35..a128fbde 100644
--- a/recipes-containers/containerd/containerd_git.bb
+++ b/recipes-containers/containerd/containerd.inc
@@ -4,18 +4,12 @@ DESCRIPTION = "containerd is a daemon to control runC, built for performance and
4 containerd leverages runC's advanced features such as seccomp and user namespace \ 4 containerd leverages runC's advanced features such as seccomp and user namespace \
5 support as well as checkpoint and restore for cloning and live migration of containers." 5 support as well as checkpoint and restore for cloning and live migration of containers."
6 6
7SRCREV = "03e5862ec0d8d3b3f750e19fca3ee367e13c090e"
8SRC_URI = "\
9 git://github.com/docker/containerd.git;branch=docker-1.13.x \
10 "
11
12# Apache-2.0 for containerd 7# Apache-2.0 for containerd
13LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
14LIC_FILES_CHKSUM = "file://LICENSE.code;md5=aadc30f9c14d876ded7bedc0afd2d3d7" 9LIC_FILES_CHKSUM = "file://LICENSE.code;md5=aadc30f9c14d876ded7bedc0afd2d3d7"
15 10
16S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
17 12
18CONTAINERD_VERSION = "0.2.3"
19PV = "${CONTAINERD_VERSION}+git${SRCREV}" 13PV = "${CONTAINERD_VERSION}+git${SRCREV}"
20 14
21DEPENDS = "go-cross-${TARGET_ARCH} \ 15DEPENDS = "go-cross-${TARGET_ARCH} \