Re: Remove connman package from yocto sdk.

Quentin Schulz


On Tue, Jul 28, 2020 at 09:02:45AM +0200, Josef Holzmayr-Khosh Amoz wrote:

Am Di., 28. Juli 2020 um 07:19 Uhr schrieb NIKHIL PATIL <>:

Still we ar facing same issue ,
If anyone know, please help.

On Fri, Jul 24, 2020 at 6:14 PM NIKHIL PATIL <> wrote:

Hi team,
We want to use NetworkManager to access internet using LTE module . but connman and Networkmaanger both are installed.

I struggled so much to remove connman, I tried as follows :-
1) Added IMAGE_INSTALL_remove = "connman" in local.conf
but it still come with sato image.

2) Added DISTRO_FEATURE_remove = "connman" in local.conf
but it still come with sato image.

By default connman is coming in image , how to remove connman ?
Do not remove connman. If you don't need it, then do not even build
and install it. find out what pulls it in, and change that.
Additionally, tinkering with that through local.conf is a bad
practise: create your own image recipe and start from there.
Don't know if it works but was always wondering if adding
PACKAGE_EXCLUDE = "connman" would be a way to know for sure at least one
recipe that is "adding" connman to the image exists (and this also makes
sure connman does not make it to the final image.. which incidentally
fails the build if it **has** to make it to the image (RDEPENDS of a
recipe or directly added to the image by the machine, distro conf files
or image recipe.

Just throwing this idea here, no idea if this works and I didn't have
the opportunity to test in our layers yet.


Join to automatically receive all group messages.