mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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 <bruce.ashfield@gmail.com>
This commit is contained in:
parent
9ce802c52a
commit
1c424ca401
|
@ -65,11 +65,12 @@ DEPENDS_append_class-target = " lvm2"
|
||||||
RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \
|
RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'aufs', 'aufs-util', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'aufs', 'aufs-util', '', d)} \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'cgroup-lite', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'cgroup-lite', d)} \
|
||||||
|
bridge-utils \
|
||||||
|
ca-certificates \
|
||||||
"
|
"
|
||||||
RDEPENDS_${PN} += "virtual/containerd virtual/runc"
|
RDEPENDS_${PN} += "virtual/containerd virtual/runc"
|
||||||
|
|
||||||
RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat"
|
RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat"
|
||||||
RSUGGESTS_${PN} = "lxc rt-tests"
|
|
||||||
DOCKER_PKG="github.com/docker/docker"
|
DOCKER_PKG="github.com/docker/docker"
|
||||||
|
|
||||||
inherit systemd update-rc.d
|
inherit systemd update-rc.d
|
||||||
|
|
Loading…
Reference in New Issue
Block a user