[poky] [PATCH 1/2] wpa-supplicant: change dbus interface

Xu, Dongxiao dongxiao.xu at intel.com
Sun Feb 13 16:55:58 PST 2011


Hi Stefan,

Stefan Schmidt wrote:
> Hello.
> 
> On Fri, 2011-02-11 at 17:11, Dongxiao Xu wrote:
>> From: Dongxiao Xu <dongxiao.xu at intel.com>
>> 
>>  # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
>> #CONFIG_DRIVER_BSD=y @@ -404,4 +405,4 @@ CONFIG_PEERKEY=y  #LIBS_c +=
>> -lbfd -liberty -lz  CONFIG_TLS = gnutls  CONFIG_GNUTLS_EXTRA=y
>> -CONFIG_CTRL_IFACE_DBUS=y
>> +CONFIG_CTRL_IFACE_DBUS_NEW=y
> 
> Any reason not enable both dbus interfaces? They can happily life
> next to each other. Thats how I did it in OE. 

It is OK for me to enable both options. I will change it in my next pull request.

> 
>> diff --git
>> a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
>> b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
>> index 7865b8f..cd62d8f 100644
>> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
>> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
>> @@ -6,7 +6,7 @@ LICENSE = "GPLv2 | BSD"
>>  LIC_FILES_CHKSUM =
>>                     
>>                     
>> "file://../COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
>> file://../README;md5=54cfc88015d3ce83f7156e63c6bb1738 \
>> file://wpa_supplicant.c;beginline=1;endline=17;md5=acdc5a4b0d6345f21f136eace747260e"
>> -DEPENDS = "gnutls dbus" +DEPENDS = "gnutls dbus libnl"   
> 
> Hmm, does poky onl yhave libnl2 recipes or both libnl and libnl2?
> 
> If the later you should depend on libnl2 instead. I'm trying to get
> rid of these libnl mess in OE and getting all packges over to libnl2.
> Would be great if we could share resources here. The iw package for
> example can also be switched easily.   

Currently, Poky only has libnl2, and recipe name is libnl_2.0.bb, thus I added "libnl" as the wpa_supplicant's DEPENDS.

Something intersting that, though APIs are incompatible between libnl and libnl2, we didn't see build issues except this wpa_supplicant case when upgrading libnl from 1.1 to 2.0. 

Could you list some OE packages which need libnl 1.1 as examples? We can check if we have included them in our current Poky build.

Thanks,
Dongxiao

> 
> I fear I only have time to send patches to poky after the OE release
> in march. 
> If you want to cherry-pick (if possible) patches that of course fine.
> 
> regards
> Stefan Schmidt
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky




More information about the poky mailing list