[yocto] Image introspection
philip at balister.org
Fri Mar 29 06:46:59 PDT 2019
On 03/29/2019 05:50 AM, Dimitris Tassopoulos wrote:
> Hi Alexander,
> in this case the 3g is added by default from the poky distro in
> the DISTRO_FEATURES_DEFAULT var in:
> And because the poky distro is the base distro for the image
> this is inherited. Therefore it needs to be removed with the
> DISTRO_FEATURES_remove unless there is another way,
> which I'm not aware to easily remove/adjust without having
> to create a new distro.
Tweaking poky distro features makes the end result not poky, so the best
thing to do is create your own distro.
> On Fri, Mar 29, 2019 at 10:38 AM Alexander Kanavin <alex.kanavin at gmail.com>
>> You can do that using
>> bitbake -e <image> and looking for how DISTRO_FEATURES is formed in
>> the output of the command.
>> On Fri, 29 Mar 2019 at 10:37, Alexander Kanavin <alex.kanavin at gmail.com>
>>> On Fri, 29 Mar 2019 at 09:51, Dimitris Tassopoulos <dimtass at gmail.com>
>>>> To do that, add this to your build/conf/local.conf file
>>>>> DISTRO_FEATURES_remove = " 3g"
>>> This works around the issue after the fact. It's better to track down
>>> where 3g is added in the first place, and adjust that.
More information about the yocto