mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
docker: make aufs dependency depend on distro feature
Only include aufs-utils if the corresponding distro feature is enabled. Without that the aufs kernel driver is not included too. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
e638196697
commit
4b6d33c87f
|
@ -64,8 +64,9 @@ DEPENDS = " \
|
||||||
PACKAGES =+ "${PN}-contrib"
|
PACKAGES =+ "${PN}-contrib"
|
||||||
|
|
||||||
DEPENDS_append_class-target = " lvm2"
|
DEPENDS_append_class-target = " lvm2"
|
||||||
RDEPENDS_${PN} = "curl aufs-util git util-linux iptables \
|
RDEPENDS_${PN} = "util-linux iptables \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES','systemd','','cgroup-lite',d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'aufs', 'aufs-util', '', d)} \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'cgroup-lite', d)} \
|
||||||
"
|
"
|
||||||
RDEPENDS_${PN} += "virtual/containerd virtual/runc"
|
RDEPENDS_${PN} += "virtual/containerd virtual/runc"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user