From 1c424ca4012f43d3f0f94f62118fa7b6bafdf52f Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 21 Mar 2019 09:01:32 -0400 Subject: docker-ce: fixup redepends and clean rsuggests With the 5.0 kernel and docker 18.09 you can run into issues pulling from docker hub due to an invalid/unknown certificate. We fix that by adding ca-certifcates as a runtime dependency. There can also be isuses setting up the network bridge, so we add bridge-utils to the rdepends. Finally, no one wants rt-tests and lxc when installing docker, so we drop them from the rsuggests. Signed-off-by: Bruce Ashfield --- recipes-containers/docker/docker-ce_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-containers/docker/docker-ce_git.bb b/recipes-containers/docker/docker-ce_git.bb index 8e972939..a0d774ad 100644 --- a/recipes-containers/docker/docker-ce_git.bb +++ b/recipes-containers/docker/docker-ce_git.bb @@ -65,11 +65,12 @@ DEPENDS_append_class-target = " lvm2" RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \ ${@bb.utils.contains('DISTRO_FEATURES', 'aufs', 'aufs-util', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'cgroup-lite', d)} \ + bridge-utils \ + ca-certificates \ " RDEPENDS_${PN} += "virtual/containerd virtual/runc" RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat" -RSUGGESTS_${PN} = "lxc rt-tests" DOCKER_PKG="github.com/docker/docker" inherit systemd update-rc.d -- cgit v1.2.3-54-g00ecf