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/docker | |
| 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/docker')
| -rw-r--r-- | recipes-containers/docker/docker_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb index 46ad26e9..c8ab45a0 100644 --- a/recipes-containers/docker/docker_git.bb +++ b/recipes-containers/docker/docker_git.bb | |||
| @@ -63,7 +63,8 @@ DEPENDS_append_class-target = "lvm2" | |||
| 63 | RDEPENDS_${PN} = "curl aufs-util git util-linux iptables \ | 63 | RDEPENDS_${PN} = "curl aufs-util git util-linux iptables \ |
| 64 | ${@bb.utils.contains('DISTRO_FEATURES','systemd','','cgroup-lite',d)} \ | 64 | ${@bb.utils.contains('DISTRO_FEATURES','systemd','','cgroup-lite',d)} \ |
| 65 | " | 65 | " |
| 66 | RDEPENDS_${PN} += "containerd runc" | 66 | RDEPENDS_${PN} += "virtual/containerd virtual/runc" |
| 67 | |||
| 67 | RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat" | 68 | RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat" |
| 68 | RSUGGESTS_${PN} = "lxc docker-registry rt-tests" | 69 | RSUGGESTS_${PN} = "lxc docker-registry rt-tests" |
| 69 | DOCKER_PKG="github.com/docker/docker" | 70 | DOCKER_PKG="github.com/docker/docker" |
