[meta-intel] Use of overrides in linux-yocto bbappends

Bruce Ashfield bruce.ashfield at windriver.com
Fri Apr 11 09:37:14 PDT 2014


On 14-04-11 12:08 PM, Kamble, Nitin A wrote:
>> -----Original Message-----
>> From: Darren Hart [mailto:dvhart at linux.intel.com]
>> Sent: Friday, April 11, 2014 8:49 AM
>> To: Paul Eggleton; meta-intel at yoctoproject.org
>> Cc: Kamble, Nitin A
>> Subject: Re: Use of overrides in linux-yocto bbappends
>>
>> On 4/11/14, 8:37, "Paul Eggleton" <paul.eggleton at linux.intel.com> wrote:
>>
>>> Hi folks,
>>>
>>> Koen reported that with a recent change to meta-minnow where
>>> LINUX_VERSION = "something" changed to LINUX_VERSION_minnow =
>>> "something" (which was a good change), the result was that the version
>>> of the linux-yocto kernel packages for an unrelated machine in another
>>> layer went backwards, because the value that was previously leaking
>>> over into that machine's kernel recipe wasn't anymore.
>>>
>>> This in itself is OK, since the change was to make the append set the
>>> variable correctly. However it prompted me to look through meta-intel
>>> to see how we're setting LINUX_VERSION. I see there are a number of
>>> bbappends for
>>> linux-yocto*
>>> recipes that set LINUX_VERSION with no machine override; we need to
>>> stop doing this. I can throw together a patch to fix it, but we'll also
>>> need to make sure new BSPs added in future use overrides as well. Any
>>> suggestions on how to handle the latter? Is this a documentation issue?
>>
>> I've already asked Nitin to make this change across meta-intel and have
>> corrected patches that have been coming in without the MACHINE override.
>> So yes, we're on it.
>
> As of now, there is no such issue in meta-intel layer. All the LINUX_VERSION
> Variables got overrides recently.
>
>>
>> I suppose this should be added to the linux kernel development manual.
>>
> Right.
>
> Scott, can you check if any of the manuals mention LINUX_VERSION
> without overrides such as LINUX_VERSION_minnow. If there is any that
> need to be changed.
>    I am noticing that the reference manual, and BSP guide both need this change.
>
> Bruce,
>    This file should change too:
>     meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb

I'm hunting down some other issues with configs and boards at the moment.
This is where I say "patches are gladly accepted" :) I'll ack anything
that is sent to the list.

Bruce

>
> Thanks,
> Nitin
>
>
>
>
>> --
>> Darren Hart					Open Source Technology
>> Center
>> darren.hart at intel.com				            Intel Corporation
>>
>>
>



More information about the meta-intel mailing list