[OE-core] [PATCH] connman: fix nftables dependency

Andreas Oberritter obi at opendreambox.org
Mon Jun 19 12:30:44 UTC 2017


On Mon, 19 Jun 2017 13:06:41 +0100
André Draszik <git at andred.net> wrote:

> On Mon, 2017-06-19 at 14:02 +0200, Andreas Oberritter wrote:
> > Hi André,
> > 
> > On Mon, 19 Jun 2017 11:32:38 +0100
> > André Draszik <git at andred.net> wrote:
> >   
> > > From: André Draszik <adraszik at tycoint.com>
> > > 
> > > When building with nftables support, connman doesn't ever
> > > depend on the nftables command line tool.
> > > 
> > > connman will depend on libmnl and libnftnl at build and
> > > run time. In addition, the nftables rules it creates
> > > depend on various kernel modules being present.
> > > 
> > > Update the PACKAGECONFIG to reflect this.
> > >   
> > 
> > packageconfig creates runtime dependencies for the modules you added. This
> > will cause problems if the modules are built into the kernel binary. You
> > should add runtime recommendations instead.  
> 
> But they should all be fulfilled because of PACKAGES_DYNAMIC in
> kernel.bbclass, no?

This will let the build succeed, but the package manager still aborts
when trying to install connman if some runtime dependencies don't exist
on the package feed. Runtime recommendations get ignored if missing, but
get installed by default otherwise.

Regards,
Andreas

> 
> Cheers,
> Andre'
> 




More information about the Openembedded-core mailing list