Signed-off-by: Vasileios Anagnostopoulos <[email protected]>
---
 recipes-containers/podman/podman_git.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-containers/podman/podman_git.bb 
b/recipes-containers/podman/podman_git.bb
index e3bc908..dea14ba 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -65,6 +65,9 @@ EXTRA_OEMAKE = " \
 # packageconfig, the podman package will rconfict with docker.
 PACKAGECONFIG ?= "docker"
 
+# Supported are: virtual-runc, crun
+DEFAULT_CONTAINER_RUNTIME ??= "virtual-runc"
+
 do_compile() {
        cd ${S}/src
        rm -rf .gopath
@@ -136,7 +139,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 ${DEFAULT_CONTAINER_RUNTIME} iptables cni 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"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7653): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7653
Mute This Topic: https://lists.yoctoproject.org/mt/94381602/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to