mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
podman: use VIRTUAL-RUNTIME variable for flexible RDEPENDS
To make it simpler to vary the container runtime and the networking infrastructure to be used with podman, we use the recently introduced VIRTUAL-RUNTIME variables that control these values. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
534e8b6ed7
commit
b3346bfb26
|
@ -138,7 +138,7 @@ SYSTEMD_SERVICE:${PN} = "podman.service podman.socket"
|
|||
VIRTUAL-RUNTIME_base-utils-nsenter ?= "util-linux-nsenter"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
conmon virtual-runc iptables cni skopeo ${VIRTUAL-RUNTIME_base-utils-nsenter} \
|
||||
conmon ${VIRTUAL-RUNTIME_container_runtime} iptables ${VIRTUAL-RUNTIME_container_networking} skopeo ${VIRTUAL-RUNTIME_base-utils-nsenter} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'fuse-overlayfs slirp4netns', '', d)} \
|
||||
"
|
||||
RRECOMMENDS:${PN} += "slirp4netns kernel-module-xt-masquerade kernel-module-xt-comment"
|
||||
|
|
Loading…
Reference in New Issue
Block a user