diff options
| author | Patrick Wicki <patrick.wicki@siemens.com> | 2025-08-29 16:52:50 +0200 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-09-03 21:43:01 -0400 |
| commit | ac476b3267b3ef232dcfec51ffc1b8680b564910 (patch) | |
| tree | 586c0681158f1635f03741944fb9dd3a66e89932 | |
| parent | 4b30a4e1d8a4d3bdf2b1d8797e793785a2776d4a (diff) | |
| download | meta-virtualization-ac476b3267b3ef232dcfec51ffc1b8680b564910.tar.gz | |
podman: remove skopeo rdepends
Podman does not require skopeo to run. They are both independent tools.
In distros like Debian, Fedora and Arch they don't depend on it either.
Skopeo also seems to be used in some of podman's tests, so it makes
sense to keep it around for the ptest.
We do require skopeo's libdevmapper dependency, so include that
directly. And inherit container-host to make sure the container configs
are present on the device.
Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit 992253f8714c7bccaade9dc6cda9d2f01c51b763)
Signed-off-by: Oliver Kästner <okaestner@rosen-nxt.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-containers/podman/podman_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb index 2d0dda94..c537a73e 100644 --- a/recipes-containers/podman/podman_git.bb +++ b/recipes-containers/podman/podman_git.bb | |||
| @@ -57,6 +57,7 @@ TOOLCHAIN = "gcc" | |||
| 57 | export BUILDFLAGS="${GOBUILDFLAGS}" | 57 | export BUILDFLAGS="${GOBUILDFLAGS}" |
| 58 | 58 | ||
| 59 | inherit go goarch | 59 | inherit go goarch |
| 60 | inherit container-host | ||
| 60 | inherit systemd pkgconfig | 61 | inherit systemd pkgconfig |
| 61 | 62 | ||
| 62 | do_configure[noexec] = "1" | 63 | do_configure[noexec] = "1" |
| @@ -145,7 +146,7 @@ VIRTUAL-RUNTIME_base-utils-nsenter ?= "util-linux-nsenter" | |||
| 145 | COMPATIBLE_HOST = "^(?!mips).*" | 146 | COMPATIBLE_HOST = "^(?!mips).*" |
| 146 | 147 | ||
| 147 | RDEPENDS:${PN} += "\ | 148 | RDEPENDS:${PN} += "\ |
| 148 | conmon ${VIRTUAL-RUNTIME_container_runtime} iptables ${VIRTUAL-RUNTIME_container_networking} skopeo ${VIRTUAL-RUNTIME_base-utils-nsenter} \ | 149 | conmon ${VIRTUAL-RUNTIME_container_runtime} iptables libdevmapper ${VIRTUAL-RUNTIME_container_networking} ${VIRTUAL-RUNTIME_base-utils-nsenter} \ |
| 149 | ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'fuse-overlayfs slirp4netns', '', d)} \ | 150 | ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'fuse-overlayfs slirp4netns', '', d)} \ |
| 150 | " | 151 | " |
| 151 | RRECOMMENDS:${PN} += "slirp4netns \ | 152 | RRECOMMENDS:${PN} += "slirp4netns \ |
