All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] docker: cgroup-lite is not required with systemd
@ 2016-08-31 18:19 Mark Asselstine
  2016-08-31 18:19 ` [PATCH 2/2] docker: update license md5sum Mark Asselstine
  0 siblings, 1 reply; 14+ messages in thread
From: Mark Asselstine @ 2016-08-31 18:19 UTC (permalink / raw)
  To: bruce.ashfield; +Cc: meta-virtualization

Systemd takes care of setting up the various cgroup mounts at boot,
and likewise the tearing down of these at shutdown. It is therefor a
useless dependency when we are using systemd.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 recipes-containers/docker/docker_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb
index f3c940d..4f85193 100644
--- a/recipes-containers/docker/docker_git.bb
+++ b/recipes-containers/docker/docker_git.bb
@@ -53,7 +53,9 @@ DEPENDS = "go-cross \
     "
 
 DEPENDS_append_class-target = "lvm2"
-RDEPENDS_${PN} = "curl aufs-util git cgroup-lite util-linux iptables"
+RDEPENDS_${PN} = "curl aufs-util git util-linux iptables \
+                  ${@bb.utils.contains('DISTRO_FEATURES','systemd','','cgroup-lite',d)} \
+                 "
 RDEPENDS_${PN} += "containerd runc"
 RRECOMMENDS_${PN} = "lxc docker-registry rt-tests"
 RRECOMMENDS_${PN} += " kernel-module-dm-thin-pool kernel-module-nf-nat"
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-09-01  0:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-31 18:19 [PATCH 1/2] docker: cgroup-lite is not required with systemd Mark Asselstine
2016-08-31 18:19 ` [PATCH 2/2] docker: update license md5sum Mark Asselstine
2016-08-31 20:36   ` Bruce Ashfield
2016-08-31 20:56   ` Bruce Ashfield
2016-08-31 21:09     ` Mark Asselstine
2016-08-31 21:11       ` Mark Asselstine
2016-08-31 21:13         ` Bruce Ashfield
2016-08-31 21:17           ` Bruce Ashfield
2016-08-31 21:27             ` Bruce Ashfield
2016-08-31 21:30               ` Mark Asselstine
2016-08-31 21:37                 ` Bruce Ashfield
2016-09-01  0:35               ` Jason Wessel
2016-08-31 22:28             ` Paul Eggleton
2016-09-01  0:37               ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.