On Thu, 13 Feb 2020 11:13:49 -0500
Maxime Roussin-Bélanger <maxime.roussinbelan...@gmail.com> wrote:

> On Thu, Feb 13, 2020 at 11:00 AM Alexander Kanavin <alex.kana...@gmail.com>
> wrote:
> >
> > On Thu, 13 Feb 2020 at 16:55, Maxime Roussin-Bélanger <
> maxime.roussinbelan...@gmail.com> wrote:
> >>
> >> PACKAGECONFIG[iwd] = "--enable-iwd, --disable-wifi, iwd, iwd"
> >> PACKAGECONFIG[wpa-supplicant] = "--enable-wifi, --disable-wifi,
> wpa-supplicant, wpa-supplicant"
> >
> >
> > The problem with this, is that enabling one but not the other will
> combine into '--enable-iwd --disable-wifi' which is not what is intended.
> 
> Actually, it is what is intended, the `--disable-wifi` will disable
> wpa-supplicant support, but keep the wifi support from other plugins (i.e.
> iwd).
> 
> I agree that maybe the `--enable-wifi` is probably not the best option
> name, but I am not sure I can something about it :)

It should be the user's responsibility (or the image recipe's) to choose the
wifi daemon, and it should be possible to uninstall one and install the other
from a package feed, or even to install both at the same time and use one for
wlan0 and the other for wlan1.

Debian enables support for both daemons in connman and has the following
package metadata:

Recommends: wpasupplicant | iwd

I don't know whether there's a way to generate that line in OE. If not, you
could try to fake it by adding RPROVIDES_${PN} = "iwd-or-wpasupplicant" or
something similar to both daemon's recipes and recommending that in recipes
supporting both daemons.

Best regards,
Andreas
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to