summaryrefslogtreecommitdiffstats
path: root/recipes-containers
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@huawei.com>2022-07-11 20:53:03 +0200
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-07-15 17:11:58 -0400
commit2e05df2f4379c8e013161f6b815f8d01315565c7 (patch)
tree8ce1f22ebd1fb35f7f88abaed6e4a015d7849e1b /recipes-containers
parentd9bad067f7fa4c50eef01102cf01982a89f9ed80 (diff)
downloadmeta-virtualization-2e05df2f4379c8e013161f6b815f8d01315565c7.tar.gz
podman: Silence docker emulation warnings
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 <andrei.gherzan@huawei.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers')
-rw-r--r--recipes-containers/podman/podman_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 547bc4e7..961cd187 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -93,6 +93,10 @@ do_install() {
93 if ${@bb.utils.contains('PACKAGECONFIG', 'docker', 'true', 'false', d)}; then 93 if ${@bb.utils.contains('PACKAGECONFIG', 'docker', 'true', 'false', d)}; then
94 oe_runmake install.docker DESTDIR="${D}" 94 oe_runmake install.docker DESTDIR="${D}"
95 fi 95 fi
96
97 # Silence docker emulation warnings.
98 mkdir -p ${D}/etc/containers
99 touch ${D}/etc/containers/nodocker
96} 100}
97 101
98FILES:${PN} += " \ 102FILES:${PN} += " \