From b3346bfb2652ec9665e9d1ef9e9e63e218cd2bfd Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 2 Mar 2023 15:51:54 -0500 Subject: 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 --- recipes-containers/podman/podman_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb index 9b4e51ff..3e00f648 100644 --- a/recipes-containers/podman/podman_git.bb +++ b/recipes-containers/podman/podman_git.bb @@ -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" -- cgit v1.2.3-54-g00ecf