slirp4netns: Runtime recommend the tun kernel module

slirp4netns uses a TAP device to connect to the internet in an
unprivileged way. Without the required kernel support (TAP/TUN),
slirp4netns will fail at runtime.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Andrei Gherzan 2022-07-11 20:53:02 +02:00 committed by Bruce Ashfield
parent 8364fd6c98
commit d9bad067f7

View File

@ -18,4 +18,6 @@ DEPENDS = "glib-2.0 libcap libseccomp libslirp"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
RRECOMMENDS:${PN} += "kernel-module-tun"
inherit autotools pkgconfig inherit autotools pkgconfig