[yocto] overriding equals

Khem Raj raj.khem at gmail.com
Fri May 29 16:13:59 PDT 2015


> 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"

> 
> If I create my own kernel (linux-raspberrypi2-rt) in my own layer and
> set PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi2-rt" in my
> conf/local.conf, bitbake still complains that there are multiple
> providers for virtual/kernel and suggests I set PREFERRED_PROVIDER
> 
> haha, very funny :-)
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150529/b3f37043/attachment.pgp>


More information about the yocto mailing list