diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-03-02 15:51:54 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-03-08 17:08:02 -0500 |
commit | b3346bfb2652ec9665e9d1ef9e9e63e218cd2bfd (patch) | |
tree | 05728d8002fb9c4cf837468c2d94e67f75d3fee8 /recipes-containers | |
parent | 534e8b6ed7016aff57794dd66645556f5994d151 (diff) | |
download | meta-virtualization-b3346bfb2652ec9665e9d1ef9e9e63e218cd2bfd.tar.gz |
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>
Diffstat (limited to 'recipes-containers')
-rw-r--r-- | recipes-containers/podman/podman_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
138 | VIRTUAL-RUNTIME_base-utils-nsenter ?= "util-linux-nsenter" | 138 | VIRTUAL-RUNTIME_base-utils-nsenter ?= "util-linux-nsenter" |
139 | 139 | ||
140 | RDEPENDS:${PN} += "\ | 140 | RDEPENDS:${PN} += "\ |
141 | conmon virtual-runc iptables cni skopeo ${VIRTUAL-RUNTIME_base-utils-nsenter} \ | 141 | conmon ${VIRTUAL-RUNTIME_container_runtime} iptables ${VIRTUAL-RUNTIME_container_networking} skopeo ${VIRTUAL-RUNTIME_base-utils-nsenter} \ |
142 | ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'fuse-overlayfs slirp4netns', '', d)} \ | 142 | ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'fuse-overlayfs slirp4netns', '', d)} \ |
143 | " | 143 | " |
144 | RRECOMMENDS:${PN} += "slirp4netns kernel-module-xt-masquerade kernel-module-xt-comment" | 144 | RRECOMMENDS:${PN} += "slirp4netns kernel-module-xt-masquerade kernel-module-xt-comment" |