On Mon, Jul 11, 2022 at 9:00 AM Andrei Gherzan <[email protected]> wrote: > > From: Andrei Gherzan <[email protected]> > > 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 <[email protected]> > --- > recipes-networking/slirp4netns/slirp4netns_git.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/recipes-networking/slirp4netns/slirp4netns_git.bb > b/recipes-networking/slirp4netns/slirp4netns_git.bb > index a63871c..4bf25b8 100644 > --- a/recipes-networking/slirp4netns/slirp4netns_git.bb > +++ b/recipes-networking/slirp4netns/slirp4netns_git.bb > @@ -18,4 +18,6 @@ DEPENDS = "glib-2.0 libcap libseccomp libslirp" > > S = "${WORKDIR}/git" > > +RDEPENDS:${PN} += "kernel-module-tun"
This needs to be a RRECOMMENDS, since we can suggest, but not enforce a specific configuration. Bruce > + > inherit autotools pkgconfig > -- > 2.25.1 > > > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7427): https://lists.yoctoproject.org/g/meta-virtualization/message/7427 Mute This Topic: https://lists.yoctoproject.org/mt/92309173/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
