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
d9bad067f7
commit
2e05df2f43
|
@ -93,6 +93,10 @@ do_install() {
|
||||||
if ${@bb.utils.contains('PACKAGECONFIG', 'docker', 'true', 'false', d)}; then
|
if ${@bb.utils.contains('PACKAGECONFIG', 'docker', 'true', 'false', d)}; then
|
||||||
oe_runmake install.docker DESTDIR="${D}"
|
oe_runmake install.docker DESTDIR="${D}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Silence docker emulation warnings.
|
||||||
|
mkdir -p ${D}/etc/containers
|
||||||
|
touch ${D}/etc/containers/nodocker
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES:${PN} += " \
|
FILES:${PN} += " \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user