All of lore.kernel.org
 help / color / mirror / Atom feed
* overriding equals
@ 2015-05-29 21:58 Trevor Woerner
  2015-05-29 23:13 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Trevor Woerner @ 2015-05-29 21:58 UTC (permalink / raw)
  To: yocto@yoctoproject.org

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
?

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 :-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: overriding equals
  2015-05-29 21:58 overriding equals Trevor Woerner
@ 2015-05-29 23:13 ` Khem Raj
  2015-05-30 12:26   ` Trevor Woerner
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2015-05-29 23:13 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]


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


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: overriding equals
  2015-05-29 23:13 ` Khem Raj
@ 2015-05-30 12:26   ` Trevor Woerner
  0 siblings, 0 replies; 3+ messages in thread
From: Trevor Woerner @ 2015-05-30 12:26 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto@yoctoproject.org

On 05/29/15 19:13, Khem Raj wrote:
>> On May 29, 2015, at 2:58 PM, Trevor Woerner <twoerner@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 :-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-30 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-29 21:58 overriding equals Trevor Woerner
2015-05-29 23:13 ` Khem Raj
2015-05-30 12:26   ` Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.