[meta-virtualization][PATCH] podman: Use packageconfig to control fuse-overlayfs depend

Liu Yiding <[email protected]>
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <[email protected]>
The RDEPEND fuse-overlayfs is an Optional package so use packageconfig to control it.

Refer to https://podman.io/docs/installation

Signed-off-by: Liu Yiding <[email protected]>
---
 recipes-containers/podman/podman_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 53b9b6a0..4495d2d9 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -68,7 +68,8 @@ EXTRA_OEMAKE = " \
 PODMAN_FEATURES ?= "docker"
 
 PACKAGECONFIG ?= ""
-PACKAGECONFIG[rootless] = ",,,fuse-overlayfs slirp4netns,,"
+PACKAGECONFIG[rootless] = ",,,slirp4netns,,"
+PACKAGECONFIG[fuse] = ",,,fuse-overlayfs,,"
 
 do_compile() {
 	cd ${S}/src
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.