summaryrefslogtreecommitdiffstats
path: root/recipes-containers/podman/podman_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/podman/podman_git.bb')
-rw-r--r--recipes-containers/podman/podman_git.bb18
1 files changed, 9 insertions, 9 deletions
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 75e2fae3..36c80c0e 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -36,13 +36,10 @@ PACKAGES =+ "${PN}-contrib"
36 36
37PODMAN_PKG = "github.com/containers/podman" 37PODMAN_PKG = "github.com/containers/podman"
38 38
39# Include the cni build tag unless the distro explicitly selects netavark-only. 39# Podman's vendored containers/common library removed CNI support entirely
40# The runtime backend is selected via containers.conf (network_backend), 40# (commit 8d1f636e40, March 2026). The network backend is now unconditionally
41# but podman must be compiled with the cni tag to support it at all. 41# netavark — the cni build tag is a no-op.
42# Previously this was gated on VIRTUAL-RUNTIME_container_networking == "cni", 42BUILDTAGS_EXTRA ?= ""
43# which excluded cni in vruntime builds where that variable is intentionally
44# blank (vpdmn-rootfs-image installs cni packages directly in IMAGE_INSTALL).
45BUILDTAGS_EXTRA ?= "${@'' if d.getVar('VIRTUAL-RUNTIME_container_networking') == 'netavark' else 'cni'}"
46BUILDTAGS ?= "seccomp varlink \ 43BUILDTAGS ?= "seccomp varlink \
47${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ 44${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
48exclude_graphdriver_btrfs exclude_graphdriver_devicemapper ${BUILDTAGS_EXTRA}" 45exclude_graphdriver_btrfs exclude_graphdriver_devicemapper ${BUILDTAGS_EXTRA}"
@@ -137,7 +134,6 @@ FILES:${PN} += " \
137 ${systemd_user_unitdir}/* \ 134 ${systemd_user_unitdir}/* \
138 ${nonarch_libdir}/tmpfiles.d/* \ 135 ${nonarch_libdir}/tmpfiles.d/* \
139 ${datadir}/user-tmpfiles.d/* \ 136 ${datadir}/user-tmpfiles.d/* \
140 ${sysconfdir}/cni \
141" 137"
142 138
143SYSTEMD_SERVICE:${PN} = "podman.service podman.socket" 139SYSTEMD_SERVICE:${PN} = "podman.service podman.socket"
@@ -148,9 +144,13 @@ VIRTUAL-RUNTIME_base-utils-nsenter ?= "util-linux-nsenter"
148 144
149COMPATIBLE_HOST = "^(?!mips).*" 145COMPATIBLE_HOST = "^(?!mips).*"
150 146
147# netavark is the only supported network backend since podman 6.0
148VIRTUAL-RUNTIME_container_networking = "netavark"
149VIRTUAL-RUNTIME_container_dns = "aardvark-dns"
150
151RDEPENDS:${PN} += "\ 151RDEPENDS:${PN} += "\
152 catatonit conmon ${VIRTUAL-RUNTIME_container_runtime} gpgme iptables libdevmapper \ 152 catatonit conmon ${VIRTUAL-RUNTIME_container_runtime} gpgme iptables libdevmapper \
153 ${VIRTUAL-RUNTIME_container_dns} ${VIRTUAL-RUNTIME_container_networking} ${VIRTUAL-RUNTIME_base-utils-nsenter} \ 153 ${VIRTUAL-RUNTIME_container_networking} ${VIRTUAL-RUNTIME_container_dns} ${VIRTUAL-RUNTIME_base-utils-nsenter} \
154" 154"
155RRECOMMENDS:${PN} += "slirp4netns \ 155RRECOMMENDS:${PN} += "slirp4netns \
156 kernel-module-xt-masquerade \ 156 kernel-module-xt-masquerade \