> On May 29, 2015, at 2:58 PM, Trevor Woerner <[email protected]> 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
> [email protected]
> https://lists.yoctoproject.org/listinfo/yocto

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to