Re: [yocto] Selecting different kernel inside an image recipe

2015-08-05 Thread Mike Looijmans
There are several solutions: - Pick one kernel as the "master" one. Create recipes for alternative kernels as required, but blank the (R)PROVIDES so that they do not "provide" a kernel and bitbake will treat them as yet another package to build. In the scripts that you use to deploy the image

Re: [yocto] Selecting different kernel inside an image recipe

2015-08-04 Thread Trevor Woerner
Hi Klaus, On 08/04/15 00:15, Klaus Knopper wrote: > So, can you confirm that it is not possible to set > PREFERRED_PROVIDER_virtual/kernel inside an image recipe? Confirmed, this is not possible. I too thought it would make sense to choose one's kernel based on which image you want to build. I w

Re: [yocto] Selecting different kernel inside an image recipe

2015-08-03 Thread Klaus Knopper
Hello Bruce & list, I need to come back to the topic after quite some failed attempts to solve the problem of switching kernel configurations specific to an image recipe. On Wed, Jul 08, 2015 at 01:30:54PM -0400, Bruce Ashfield wrote: > On 2015-07-08 12:36 PM, Klaus Knopper wrote: > >Hello Leonar

Re: [yocto] Selecting different kernel inside an image recipe

2015-07-08 Thread Bruce Ashfield
On 2015-07-08 12:36 PM, Klaus Knopper wrote: Hello Leonardo, On Wed, Jul 08, 2015 at 10:40:10AM -0500, Leonardo Sandoval wrote: On 07/08/2015 09:50 AM, Klaus Knopper wrote: Hello list, I'm trying to build variantions/brands of an image that only differ in kernel configuration and kernel modul

Re: [yocto] Selecting different kernel inside an image recipe

2015-07-08 Thread Klaus Knopper
Hello Leonardo, On Wed, Jul 08, 2015 at 10:40:10AM -0500, Leonardo Sandoval wrote: > On 07/08/2015 09:50 AM, Klaus Knopper wrote: > >Hello list, > > > >I'm trying to build variantions/brands of an image that only differ in > >kernel configuration and kernel modules included, but everything else st

Re: [yocto] Selecting different kernel inside an image recipe

2015-07-08 Thread Leonardo Sandoval
On 07/08/2015 09:50 AM, Klaus Knopper wrote: Hello list, I'm trying to build variantions/brands of an image that only differ in kernel configuration and kernel modules included, but everything else stays the same, for the exact same board, as in the main image. Setting PREFERRED_PROVIDER_virt

[yocto] Selecting different kernel inside an image recipe

2015-07-08 Thread Klaus Knopper
Hello list, I'm trying to build variantions/brands of an image that only differ in kernel configuration and kernel modules included, but everything else stays the same, for the exact same board, as in the main image. Setting PREFERRED_PROVIDER_virtual/kernel = "different_kernel" right inside in t