From: Andrei Gherzan <[email protected]> Podman can run in via a docker symlink emulating docker commands. By default this generates a runtime warning. This change silences it via the provided interface.
Signed-off-by: Andrei Gherzan <[email protected]> --- recipes-containers/podman/podman_git.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb index 727a298..4693bd6 100644 --- a/recipes-containers/podman/podman_git.bb +++ b/recipes-containers/podman/podman_git.bb @@ -93,6 +93,10 @@ do_install() { if ${@bb.utils.contains('PACKAGECONFIG', 'docker', 'true', 'false', d)}; then oe_runmake install.docker DESTDIR="${D}" fi + + # Silence docker emulation warnings. + mkdir -p ${D}/etc/containers + touch ${D}/etc/containers/nodocker } FILES:${PN} += " \ -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7425): https://lists.yoctoproject.org/g/meta-virtualization/message/7425 Mute This Topic: https://lists.yoctoproject.org/mt/92309184/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
