diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-02-20 02:00:20 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-02-20 02:06:22 -0500 |
| commit | 7d6284a079748f919e3e0b8116649cfa5ff8ee8f (patch) | |
| tree | 7a6f3a22b38f6ecac9631410e19a21904bed6efd /recipes-containers/containerd | |
| parent | 776422fa046e0779b48ddfaaed4fb35651256258 (diff) | |
| download | meta-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.bb | 10 | ||||
| -rw-r--r-- | recipes-containers/containerd/containerd-opencontainers_git.bb | 9 | ||||
| -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 @@ | |||
| 1 | include containerd.inc | ||
| 2 | |||
| 3 | SRCREV = "03e5862ec0d8d3b3f750e19fca3ee367e13c090e" | ||
| 4 | SRC_URI = "\ | ||
| 5 | git://github.com/docker/containerd.git;branch=docker-1.13.x \ | ||
| 6 | " | ||
| 7 | CONTAINERD_VERSION = "0.2.3" | ||
| 8 | |||
| 9 | PROVIDES += "virtual/containerd" | ||
| 10 | RPROVIDES_${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 @@ | |||
| 1 | include containerd.inc | ||
| 2 | |||
| 3 | SRCREV = "0ac3cd1be170d180b2baed755e8f0da547ceb267" | ||
| 4 | SRC_URI = "git://github.com/docker/containerd.git;nobranch=1 \ | ||
| 5 | " | ||
| 6 | CONTAINERD_VERSION = "0.2.2" | ||
| 7 | |||
| 8 | PROVIDES += "virtual/containerd" | ||
| 9 | RPROVIDES_${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 | ||
| 7 | SRCREV = "03e5862ec0d8d3b3f750e19fca3ee367e13c090e" | ||
| 8 | SRC_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 |
| 13 | LICENSE = "Apache-2.0" | 8 | LICENSE = "Apache-2.0" |
| 14 | LIC_FILES_CHKSUM = "file://LICENSE.code;md5=aadc30f9c14d876ded7bedc0afd2d3d7" | 9 | LIC_FILES_CHKSUM = "file://LICENSE.code;md5=aadc30f9c14d876ded7bedc0afd2d3d7" |
| 15 | 10 | ||
| 16 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| 17 | 12 | ||
| 18 | CONTAINERD_VERSION = "0.2.3" | ||
| 19 | PV = "${CONTAINERD_VERSION}+git${SRCREV}" | 13 | PV = "${CONTAINERD_VERSION}+git${SRCREV}" |
| 20 | 14 | ||
| 21 | DEPENDS = "go-cross-${TARGET_ARCH} \ | 15 | DEPENDS = "go-cross-${TARGET_ARCH} \ |
