All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH 1/2] podman: remove skopeo rdepends
@ 2024-04-29 17:25 patrick.wicki
  2024-04-29 17:25 ` [meta-virtualization][PATCH 2/2] podman: require catatonit patrick.wicki
  2024-05-02 17:56 ` [meta-virtualization][PATCH 1/2] podman: remove skopeo rdepends Bruce Ashfield
  0 siblings, 2 replies; 4+ messages in thread
From: patrick.wicki @ 2024-04-29 17:25 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Patrick Wicki

From: Patrick Wicki <patrick.wicki@siemens.com>

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.

We do require some of its dependencies, so include those directly.
Skopeo also seems to be used in some of podman's tests, so it makes
sense to keep it around for the ptest.

Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
---
 recipes-containers/podman/podman_git.bb | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index f69dec16..41f090f0 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -55,6 +55,7 @@ TOOLCHAIN = "gcc"
 export BUILDFLAGS="${GOBUILDFLAGS}"
 
 inherit go goarch
+inherit container-host
 inherit systemd pkgconfig ptest
 
 do_configure[noexec] = "1"
@@ -148,8 +149,13 @@ VIRTUAL-RUNTIME_base-utils-nsenter ?= "util-linux-nsenter"
 
 COMPATIBLE_HOST = "^(?!mips).*"
 
-RDEPENDS:${PN} += "\
-	conmon ${VIRTUAL-RUNTIME_container_runtime} iptables ${VIRTUAL-RUNTIME_container_networking} skopeo ${VIRTUAL-RUNTIME_base-utils-nsenter} \
+RDEPENDS:${PN} += " \
+	conmon \
+	iptables \
+	libdevmapper \
+	${VIRTUAL-RUNTIME_base-utils-nsenter} \
+	${VIRTUAL-RUNTIME_container_networking} \
+	${VIRTUAL-RUNTIME_container_runtime} \
 	${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'fuse-overlayfs slirp4netns', '', d)} \
 "
 RRECOMMENDS:${PN} += "slirp4netns \
@@ -172,5 +178,6 @@ RDEPENDS:${PN}-ptest += " \
 	gnupg \
 	jq \
 	make \
+	skopeo \
 	tar \
 "
-- 
2.44.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-02 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-29 17:25 [meta-virtualization][PATCH 1/2] podman: remove skopeo rdepends patrick.wicki
2024-04-29 17:25 ` [meta-virtualization][PATCH 2/2] podman: require catatonit patrick.wicki
2024-05-02 17:58   ` Bruce Ashfield
2024-05-02 17:56 ` [meta-virtualization][PATCH 1/2] podman: remove skopeo rdepends Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.