[yocto] overriding equals

Trevor Woerner twoerner at gmail.com
Sat May 30 05:26:07 PDT 2015


On 05/29/15 19:13, Khem Raj wrote:
>> On May 29, 2015, at 2:58 PM, Trevor Woerner <twoerner at gmail.com> wrote:
>>
>> If a BSP layer sets a preferred kernel using an equals sign (e.g.
>> PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi") is there any
>> way of overriding this decision that doesn't involve:
>> 1) forking the layer
>> 2) hoping the maintainer accepts a relevant patch
>> 3) creating my own DISTRO
>> ?
> you may try the following in your config metadata ( local.conf )
> PREFERRED_PROVIDER_virtual/kernel_forcevariable = "linux-raspberrypi"

Thank you! That's exactly what I needed :-)



More information about the yocto mailing list