overriding equals
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 :-)
Quoted 10 lines · Trevor Woerner
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"
Quoted 12 lines
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 setPREFERRED_PROVIDERhaha, very funny :-)
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 11 lines · Khem Raj
Quoted 9 lines · Trevor Woerner
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 :-)