[yocto] [PATCH 1/3] linux-yocto: Update linux-yocto for 3.2 and 3.4

Saul Wold sgw at linux.intel.com
Tue Sep 4 21:18:43 PDT 2012


On 09/04/2012 02:00 PM, Martin Jansa wrote:
> On Tue, Sep 04, 2012 at 01:57:19PM -0700, Saul Wold wrote:
>> Signed-off-by: Saul Wold <sgw at linux.intel.com>
>> ---
>>   .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |    2 ++
>>   .../recipes-kernel/linux/linux-yocto_3.2.bbappend  |    6 ++++++
>>   .../recipes-kernel/linux/linux-yocto_3.4.bbappend  |    6 ++++++
>>   3 files changed, 14 insertions(+), 0 deletions(-)
>>   create mode 100644 meta-tlk/recipes-kernel/linux/linux-yocto_3.2.bbappend
>>   create mode 100644 meta-tlk/recipes-kernel/linux/linux-yocto_3.4.bbappend
>>
>> diff --git a/meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend
>> index 58a6541..138cc21 100644
>> --- a/meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend
>> +++ b/meta-tlk/recipes-kernel/linux/linux-yocto_3.0.bbappend
>> @@ -2,3 +2,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>
>>   # enable the time limited kernel configuration options
>>   SRC_URI += "file://time-limited-kernel.cfg"
>> +
>> +PR .= ".1"
>
> why not
> PRINC := "${@int(PRINC) + 1}"
> ?

I understood that the .1 adds more finer granularity instead of 
incrementing the base PR itself.  You end up with a potential r1.2.1 
which is still legal.

What happens with a r1.2 and the above @int(PRINC) + 1?

I would need to test it, done for the day right now.


Sau!

>> diff --git a/meta-tlk/recipes-kernel/linux/linux-yocto_3.2.bbappend b/meta-tlk/recipes-kernel/linux/linux-yocto_3.2.bbappend
>> new file mode 100644
>> index 0000000..138cc21
>> --- /dev/null
>> +++ b/meta-tlk/recipes-kernel/linux/linux-yocto_3.2.bbappend
>> @@ -0,0 +1,6 @@
>> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>> +
>> +# enable the time limited kernel configuration options
>> +SRC_URI += "file://time-limited-kernel.cfg"
>> +
>> +PR .= ".1"
>> diff --git a/meta-tlk/recipes-kernel/linux/linux-yocto_3.4.bbappend b/meta-tlk/recipes-kernel/linux/linux-yocto_3.4.bbappend
>> new file mode 100644
>> index 0000000..138cc21
>> --- /dev/null
>> +++ b/meta-tlk/recipes-kernel/linux/linux-yocto_3.4.bbappend
>> @@ -0,0 +1,6 @@
>> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>> +
>> +# enable the time limited kernel configuration options
>> +SRC_URI += "file://time-limited-kernel.cfg"
>> +
>> +PR .= ".1"
>> --
>> 1.7.7.6
>>
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list