mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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>
This commit is contained in:
parent
55e9f7a38c
commit
c30b03a308
|
@ -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} += " \
|
||||
|
|
Loading…
Reference in New Issue
Block a user