[OE-core] [PATCH 1/1] connman: ensure ofono package is generated.

Lu, Lianhao lianhao.lu at intel.com
Tue Apr 10 03:03:09 UTC 2012


Saul Wold wrote on 2012-04-10:
> On 04/05/2012 11:20 PM, Lianhao Lu wrote:
>> Make sure ofono package is generated when buidling connman, because
>> dynamic package connman-plugin-ofono has a RDEPENDS on ofono.
>> 
> Since this is for a plugin, can the connman-plugin-ofono be generated in
> a separate package (or possibly even a separate recipe that depends on
> ofono, instead of making connman depend on ofono, I am not sure the
> solution below is correct either.

connman-plugin-ofono is already generated in a separate dynamic package, just like other dynamic connman-plugin-bluez4. I think we'd better build the connman-plugin-ofono based on the value distro_features, just like we did for connman-plugin-bluez4 in commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit?id=1288313411f8db7628e9ec4c04f2ad7f830e994d. I'll remake the patch. 

-Lianhao 

> Sau!
> 
>> Signed-off-by: Lianhao Lu<lianhao.lu at intel.com>
>> ---
>>   meta/recipes-connectivity/connman/connman.inc |    2 ++
>>   1 files changed, 2 insertions(+), 0 deletions(-)
>> diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
>> index 1a6dd1b..3ed5667 100644
>> --- a/meta/recipes-connectivity/connman/connman.inc
>> +++ b/meta/recipes-connectivity/connman/connman.inc
>> @@ -39,6 +39,8 @@ EXTRA_OECONF += "\
>>       --disable-ntpd \
>>   "
>> +do_package[depends] = "${MLPREFIX}ofono:do_package"
>> +
>>   INITSCRIPT_NAME = "connman"
>>   INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."

Best Regards,
Lianhao






More information about the Openembedded-core mailing list