Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] linux-yocto: consolidated pull request
@ 2011-08-19  5:20 Bruce Ashfield
  2011-08-19  5:20 ` [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0" Bruce Ashfield
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Bruce Ashfield @ 2011-08-19  5:20 UTC (permalink / raw)
  To: richard.purdie; +Cc: dvhart, openembedded-core, saul.wold

Richard/Saul,

Here's a consolidated set of changes that I've been testing with
for the past few days. The patches are pretty much self explanitory.

1/3:  linux-yocto: restoring LINUX_VERSION ?= "3.0"

After discussions on the mailing list, we are going to go back to the
1.0 model and not cycle the version string of the recipe. We'll revisit
this post 1.1.

2/3  linux-yocto: move more default values into linux-yocto.inc

While working on documentation for extending linux-yocto, I moved some
variables into the .inc file to simply recipes based on linux-yocto.
I haven't updated some other recipes yet (like the -rt one), but will
do that once I can test them.

3/3 linux-yocto: update SRCREVs for 3.0.3

Updating the SRCREVs to pickup 3.0.3, this also picks up the meta branch
updates for emgd and hpet.

cc: Tom Zanussi <tom.zanussi@intel.com>
cc: Darren Hart <dvhart@linux.intel.com>

The following changes since commit 978cdd5cb5b445f1cf406296444cb57cd8aa526a:

  kernel: restore crtsavres.o to enable building external modules on powerpc (2011-08-17 15:56:07 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib zedd/kernel-oe
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-oe

Bruce Ashfield (3):
  linux-yocto: restoring LINUX_VERSION ?= "3.0"
  linux-yocto: move more default values into linux-yocto.inc
  linux-yocto: update SRCREVs for 3.0.3

 meta/recipes-kernel/linux/linux-yocto.inc    |    7 +++++++
 meta/recipes-kernel/linux/linux-yocto_3.0.bb |   21 ++++++++-------------
 2 files changed, 15 insertions(+), 13 deletions(-)

-- 
1.7.4.1




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

* [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0"
  2011-08-19  5:20 [PATCH 0/3] linux-yocto: consolidated pull request Bruce Ashfield
@ 2011-08-19  5:20 ` Bruce Ashfield
  2011-08-19  9:43   ` Phil Blundell
  2011-08-19  5:20 ` [PATCH 2/3] linux-yocto: move more default values into linux-yocto.inc Bruce Ashfield
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Bruce Ashfield @ 2011-08-19  5:20 UTC (permalink / raw)
  To: richard.purdie; +Cc: dvhart, openembedded-core, saul.wold

There are enough other recipes/layers and users that are currently
using PREFERRED_VERSION that changing the value to 3.0.x does not
work at the current time. So we'll restore this to 3.0 and follow
the same model as previous releases. Using DEFAULT_PREFERENCE and
other schemes will be considered in the future.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/recipes-kernel/linux/linux-yocto_3.0.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
index 44f1ebe..5d9871f 100644
--- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
@@ -11,7 +11,7 @@ KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
 KBRANCH = ${KMACHINE}
 KMETA = meta
 
-LINUX_VERSION ?= "3.0.1"
+LINUX_VERSION ?= "3.0"
 LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
 
 SRCREV_machine_qemuarm = "36b4cdddcafc711f0ec9ad97882f23a6443c61b2"
-- 
1.7.4.1




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

* [PATCH 2/3] linux-yocto: move more default values into linux-yocto.inc
  2011-08-19  5:20 [PATCH 0/3] linux-yocto: consolidated pull request Bruce Ashfield
  2011-08-19  5:20 ` [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0" Bruce Ashfield
@ 2011-08-19  5:20 ` Bruce Ashfield
  2011-08-19  5:20 ` [PATCH 3/3] linux-yocto: update SRCREVs for 3.0.3 Bruce Ashfield
  2011-08-20  5:08 ` [PATCH 0/3] linux-yocto: consolidated pull request Bruce Ashfield
  3 siblings, 0 replies; 11+ messages in thread
From: Bruce Ashfield @ 2011-08-19  5:20 UTC (permalink / raw)
  To: richard.purdie; +Cc: dvhart, openembedded-core, saul.wold

During the preparation of some linux-yocto extension documentation it
was clear that some variables are being defined in each recipe, when
they don't have to be. Moving the defaults into linux-yocto.in and
allowing them to be overidden in recipes simpifies the re-use of the
base infrastructure.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/recipes-kernel/linux/linux-yocto.inc    |    7 +++++++
 meta/recipes-kernel/linux/linux-yocto_3.0.bb |    5 -----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc
index 595795b..11b77ce 100644
--- a/meta/recipes-kernel/linux/linux-yocto.inc
+++ b/meta/recipes-kernel/linux/linux-yocto.inc
@@ -12,6 +12,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 # Set this to 'preempt_rt' in the local.conf if you want a real time kernel
 LINUX_KERNEL_TYPE ?= standard
 
+KMETA ?= meta
+SRCREV_FORMAT ?= "meta_machine" 
+
+LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
+KERNEL_REVISION_CHECKING ?= "t"
+YOCTO_KERNEL_META_DATA ?= t
+
 do_patch[depends] = "kern-tools-native:do_populate_sysroot"
 
 addtask kernel_configme before do_configure after do_patch
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
index 5d9871f..3ebd830 100644
--- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
@@ -9,10 +9,8 @@ KMACHINE_qemumips = "yocto/standard/mti-malta32-be"
 KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
 
 KBRANCH = ${KMACHINE}
-KMETA = meta
 
 LINUX_VERSION ?= "3.0"
-LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
 
 SRCREV_machine_qemuarm = "36b4cdddcafc711f0ec9ad97882f23a6443c61b2"
 SRCREV_machine_qemumips = "2db2aacc589a518a74e8a8543e80403f09de8134"
@@ -31,14 +29,11 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;nocheckout=1;
 COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)"
 
 # Functionality flags
-KERNEL_REVISION_CHECKING ?= "t"
 KERNEL_FEATURES="features/netfilter"
 KERNEL_FEATURES_append=" features/taskstats"
 KERNEL_FEATURES_append_qemux86=" cfg/sound"
 KERNEL_FEATURES_append_qemux86-64=" cfg/sound"
 
-YOCTO_KERNEL_META_DATA=t
-
 # extra tasks
 addtask kernel_link_vmlinux after do_compile before do_install
 addtask validate_branches before do_patch after do_kernel_checkout
-- 
1.7.4.1




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

* [PATCH 3/3] linux-yocto: update SRCREVs for 3.0.3
  2011-08-19  5:20 [PATCH 0/3] linux-yocto: consolidated pull request Bruce Ashfield
  2011-08-19  5:20 ` [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0" Bruce Ashfield
  2011-08-19  5:20 ` [PATCH 2/3] linux-yocto: move more default values into linux-yocto.inc Bruce Ashfield
@ 2011-08-19  5:20 ` Bruce Ashfield
  2011-08-20  5:08 ` [PATCH 0/3] linux-yocto: consolidated pull request Bruce Ashfield
  3 siblings, 0 replies; 11+ messages in thread
From: Bruce Ashfield @ 2011-08-19  5:20 UTC (permalink / raw)
  To: richard.purdie; +Cc: dvhart, openembedded-core, saul.wold

Updating the SRCREVs to pickup the kernel.org -stable update for
3.0.3

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/recipes-kernel/linux/linux-yocto_3.0.bb |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
index 3ebd830..fa33a76 100644
--- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
@@ -12,13 +12,13 @@ KBRANCH = ${KMACHINE}
 
 LINUX_VERSION ?= "3.0"
 
-SRCREV_machine_qemuarm = "36b4cdddcafc711f0ec9ad97882f23a6443c61b2"
-SRCREV_machine_qemumips = "2db2aacc589a518a74e8a8543e80403f09de8134"
-SRCREV_machine_qemuppc = "c0f5dd4ef37b445d8ac73b11dd93e0ffdb7e9f6d"
-SRCREV_machine_qemux86 = "c29beadfd4364aca9358ac0fdb8356c1dbbdacb2"
-SRCREV_machine_qemux86-64 = "d0b814813bce09971c5cbb0d22bacb8842146fa0"
-SRCREV_machine = "ad13129a87957656c18584793abcee51de0e196a"
-SRCREV_meta = "9da70812ecddee0f7eeb11675f29497cb997275e"
+SRCREV_machine_qemuarm = "083e3befb5f2562e1375f19e645f1e024c92b0b2"
+SRCREV_machine_qemumips = "79f46ece4d5e54fce49442f575a4b8663012dfa2"
+SRCREV_machine_qemuppc = "f1ce5cf96659e036674eddd170633caaf3c1d487"
+SRCREV_machine_qemux86 = "d44ab16a5c0aa5fed2ef2f587bd90cad37132dbd"
+SRCREV_machine_qemux86-64 = "842be4e7221f982e0a76075cf556a9354991ff94"
+SRCREV_machine = "66398ee1195e1b142a1b540795ff16e04b32467f"
+SRCREV_meta = "d588bdafc0d9b4d2386144b7d76a1d379e2d16c0"
 
 PR = "r1"
 PV = "${LINUX_VERSION}+git${SRCPV}"
-- 
1.7.4.1




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

* Re: [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0"
  2011-08-19  5:20 ` [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0" Bruce Ashfield
@ 2011-08-19  9:43   ` Phil Blundell
  2011-08-19 12:53     ` Bruce Ashfield
  0 siblings, 1 reply; 11+ messages in thread
From: Phil Blundell @ 2011-08-19  9:43 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2011-08-19 at 01:20 -0400, Bruce Ashfield wrote:
> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
> index 44f1ebe..5d9871f 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
> @@ -11,7 +11,7 @@ KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
>  KBRANCH = ${KMACHINE}
>  KMETA = meta
>  
> -LINUX_VERSION ?= "3.0.1"
> +LINUX_VERSION ?= "3.0"
>  LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
>  
>  SRCREV_machine_qemuarm = "36b4cdddcafc711f0ec9ad97882f23a6443c61b2"

That's going to cause PV to go backwards, right?  If you're going to do
that then you probably ought to consider bumping PE to retain
monotonicity.

p.





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

* Re: [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0"
  2011-08-19  9:43   ` Phil Blundell
@ 2011-08-19 12:53     ` Bruce Ashfield
  2011-08-19 17:24       ` Richard Purdie
  0 siblings, 1 reply; 11+ messages in thread
From: Bruce Ashfield @ 2011-08-19 12:53 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, Aug 19, 2011 at 5:43 AM, Phil Blundell <philb@gnu.org> wrote:
> On Fri, 2011-08-19 at 01:20 -0400, Bruce Ashfield wrote:
>> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>> index 44f1ebe..5d9871f 100644
>> --- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>> +++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>> @@ -11,7 +11,7 @@ KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
>>  KBRANCH = ${KMACHINE}
>>  KMETA = meta
>>
>> -LINUX_VERSION ?= "3.0.1"
>> +LINUX_VERSION ?= "3.0"
>>  LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
>>
>>  SRCREV_machine_qemuarm = "36b4cdddcafc711f0ec9ad97882f23a6443c61b2"
>
> That's going to cause PV to go backwards, right?  If you're going to do
> that then you probably ought to consider bumping PE to retain
> monotonicity.

Indeed. I always just think of LINUX_VERSION as yet another package internal
variable (from non-bitbake experience), so tweaking it has no impact
on this sort
of thing.

I can look into changing the epoch .. but not until Monday or later in
the weekend.

Cheers,

Bruce

>
> p.
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



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

* Re: [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0"
  2011-08-19 12:53     ` Bruce Ashfield
@ 2011-08-19 17:24       ` Richard Purdie
  2011-08-19 19:05         ` Khem Raj
  2011-08-19 20:51         ` Bruce Ashfield
  0 siblings, 2 replies; 11+ messages in thread
From: Richard Purdie @ 2011-08-19 17:24 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2011-08-19 at 08:53 -0400, Bruce Ashfield wrote:
> On Fri, Aug 19, 2011 at 5:43 AM, Phil Blundell <philb@gnu.org> wrote:
> > On Fri, 2011-08-19 at 01:20 -0400, Bruce Ashfield wrote:
> >> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
> >> index 44f1ebe..5d9871f 100644
> >> --- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
> >> +++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
> >> @@ -11,7 +11,7 @@ KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
> >>  KBRANCH = ${KMACHINE}
> >>  KMETA = meta
> >>
> >> -LINUX_VERSION ?= "3.0.1"
> >> +LINUX_VERSION ?= "3.0"
> >>  LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
> >>
> >>  SRCREV_machine_qemuarm = "36b4cdddcafc711f0ec9ad97882f23a6443c61b2"
> >
> > That's going to cause PV to go backwards, right?  If you're going to do
> > that then you probably ought to consider bumping PE to retain
> > monotonicity.
> 
> Indeed. I always just think of LINUX_VERSION as yet another package internal
> variable (from non-bitbake experience), so tweaking it has no impact
> on this sort
> of thing.
> 
> I can look into changing the epoch .. but not until Monday or later in
> the weekend.

I'm not 100% convinced that this is a good idea. I'd really prefer the
kernel accurately reflected the version it was. Can we not do:

PREFERRRED_VERSION_xxx = "3.0%"

to get around the preferred version issues?

Cheers,

Richard




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

* Re: [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0"
  2011-08-19 17:24       ` Richard Purdie
@ 2011-08-19 19:05         ` Khem Raj
  2011-08-19 20:51         ` Bruce Ashfield
  1 sibling, 0 replies; 11+ messages in thread
From: Khem Raj @ 2011-08-19 19:05 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, Aug 19, 2011 at 10:24 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> I'm not 100% convinced that this is a good idea. I'd really prefer the
> kernel accurately reflected the version it was. Can we not do:
>
> PREFERRRED_VERSION_xxx = "3.0%"
>

yes I would prefer that too

> to get around the preferred version issues?
>
> Cheers,
>



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

* Re: [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0"
  2011-08-19 17:24       ` Richard Purdie
  2011-08-19 19:05         ` Khem Raj
@ 2011-08-19 20:51         ` Bruce Ashfield
  2011-08-20  3:51           ` Bruce Ashfield
  1 sibling, 1 reply; 11+ messages in thread
From: Bruce Ashfield @ 2011-08-19 20:51 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Darren Hart

On Fri, Aug 19, 2011 at 1:24 PM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Fri, 2011-08-19 at 08:53 -0400, Bruce Ashfield wrote:
>> On Fri, Aug 19, 2011 at 5:43 AM, Phil Blundell <philb@gnu.org> wrote:
>> > On Fri, 2011-08-19 at 01:20 -0400, Bruce Ashfield wrote:
>> >> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>> >> index 44f1ebe..5d9871f 100644
>> >> --- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>> >> +++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>> >> @@ -11,7 +11,7 @@ KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
>> >>  KBRANCH = ${KMACHINE}
>> >>  KMETA = meta
>> >>
>> >> -LINUX_VERSION ?= "3.0.1"
>> >> +LINUX_VERSION ?= "3.0"
>> >>  LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
>> >>
>> >>  SRCREV_machine_qemuarm = "36b4cdddcafc711f0ec9ad97882f23a6443c61b2"
>> >
>> > That's going to cause PV to go backwards, right?  If you're going to do
>> > that then you probably ought to consider bumping PE to retain
>> > monotonicity.
>>
>> Indeed. I always just think of LINUX_VERSION as yet another package internal
>> variable (from non-bitbake experience), so tweaking it has no impact
>> on this sort
>> of thing.
>>
>> I can look into changing the epoch .. but not until Monday or later in
>> the weekend.
>
> I'm not 100% convinced that this is a good idea. I'd really prefer the
> kernel accurately reflected the version it was. Can we not do:
>
> PREFERRRED_VERSION_xxx = "3.0%"
>
> to get around the preferred version issues?

Both Darren and I tried variants of this but couldn't get it to match, but I can
certainly try again. This was also my first attempt when bumping the string.

But as I mentioned multiple times before, even changing the version with
sub releases is a change from how I handled it before, so from that point
of view, I never should have entered into tweaking this. :)

Bruce

>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



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

* Re: [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0"
  2011-08-19 20:51         ` Bruce Ashfield
@ 2011-08-20  3:51           ` Bruce Ashfield
  0 siblings, 0 replies; 11+ messages in thread
From: Bruce Ashfield @ 2011-08-20  3:51 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Darren Hart

On Fri, Aug 19, 2011 at 4:51 PM, Bruce Ashfield
<bruce.ashfield@gmail.com> wrote:
> On Fri, Aug 19, 2011 at 1:24 PM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>> On Fri, 2011-08-19 at 08:53 -0400, Bruce Ashfield wrote:
>>> On Fri, Aug 19, 2011 at 5:43 AM, Phil Blundell <philb@gnu.org> wrote:
>>> > On Fri, 2011-08-19 at 01:20 -0400, Bruce Ashfield wrote:
>>> >> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>>> >> index 44f1ebe..5d9871f 100644
>>> >> --- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>>> >> +++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
>>> >> @@ -11,7 +11,7 @@ KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
>>> >>  KBRANCH = ${KMACHINE}
>>> >>  KMETA = meta
>>> >>
>>> >> -LINUX_VERSION ?= "3.0.1"
>>> >> +LINUX_VERSION ?= "3.0"
>>> >>  LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
>>> >>
>>> >>  SRCREV_machine_qemuarm = "36b4cdddcafc711f0ec9ad97882f23a6443c61b2"
>>> >
>>> > That's going to cause PV to go backwards, right?  If you're going to do
>>> > that then you probably ought to consider bumping PE to retain
>>> > monotonicity.
>>>
>>> Indeed. I always just think of LINUX_VERSION as yet another package internal
>>> variable (from non-bitbake experience), so tweaking it has no impact
>>> on this sort
>>> of thing.
>>>
>>> I can look into changing the epoch .. but not until Monday or later in
>>> the weekend.
>>
>> I'm not 100% convinced that this is a good idea. I'd really prefer the
>> kernel accurately reflected the version it was. Can we not do:
>>
>> PREFERRRED_VERSION_xxx = "3.0%"
>>
>> to get around the preferred version issues?

I reset my environment and re-did my tests .. and this does match what
we want. I'm gong to re-spin my series with a version bump to 3.0.3 and
I'll update the preferred versions that I know about to this format.

Cheers,

Bruce

>
> Both Darren and I tried variants of this but couldn't get it to match, but I can
> certainly try again. This was also my first attempt when bumping the string.
>
> But as I mentioned multiple times before, even changing the version with
> sub releases is a change from how I handled it before, so from that point
> of view, I never should have entered into tweaking this. :)
>
> Bruce
>
>>
>> Cheers,
>>
>> Richard
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



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

* Re: [PATCH 0/3] linux-yocto: consolidated pull request
  2011-08-19  5:20 [PATCH 0/3] linux-yocto: consolidated pull request Bruce Ashfield
                   ` (2 preceding siblings ...)
  2011-08-19  5:20 ` [PATCH 3/3] linux-yocto: update SRCREVs for 3.0.3 Bruce Ashfield
@ 2011-08-20  5:08 ` Bruce Ashfield
  3 siblings, 0 replies; 11+ messages in thread
From: Bruce Ashfield @ 2011-08-20  5:08 UTC (permalink / raw)
  To: richard.purdie; +Cc: dvhart, saul.wold, openembedded-core

On Fri, Aug 19, 2011 at 1:20 AM, Bruce Ashfield
<bruce.ashfield@windriver.com> wrote:
> Richard/Saul,
>
> Here's a consolidated set of changes that I've been testing with
> for the past few days. The patches are pretty much self explanitory.
>
> 1/3:  linux-yocto: restoring LINUX_VERSION ?= "3.0"
>
> After discussions on the mailing list, we are going to go back to the
> 1.0 model and not cycle the version string of the recipe. We'll revisit
> this post 1.1.

I've repushed this series with 1/3 dropped.

>
> 2/3  linux-yocto: move more default values into linux-yocto.inc
>
> While working on documentation for extending linux-yocto, I moved some
> variables into the .inc file to simply recipes based on linux-yocto.
> I haven't updated some other recipes yet (like the -rt one), but will
> do that once I can test them.
>
> 3/3 linux-yocto: update SRCREVs for 3.0.3
>
> Updating the SRCREVs to pickup 3.0.3, this also picks up the meta branch
> updates for emgd and hpet.

And this changed to make the kernel version 3.0.3.

I'm sparing everyone another patch posting, but let me know if you'd like me
to resend.

Bruce

>
> cc: Tom Zanussi <tom.zanussi@intel.com>
> cc: Darren Hart <dvhart@linux.intel.com>
>
> The following changes since commit 978cdd5cb5b445f1cf406296444cb57cd8aa526a:
>
>  kernel: restore crtsavres.o to enable building external modules on powerpc (2011-08-17 15:56:07 +0100)
>
> are available in the git repository at:
>  git://git.pokylinux.org/poky-contrib zedd/kernel-oe
>  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-oe
>
> Bruce Ashfield (3):
>  linux-yocto: restoring LINUX_VERSION ?= "3.0"
>  linux-yocto: move more default values into linux-yocto.inc
>  linux-yocto: update SRCREVs for 3.0.3
>
>  meta/recipes-kernel/linux/linux-yocto.inc    |    7 +++++++
>  meta/recipes-kernel/linux/linux-yocto_3.0.bb |   21 ++++++++-------------
>  2 files changed, 15 insertions(+), 13 deletions(-)
>
> --
> 1.7.4.1
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



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

end of thread, other threads:[~2011-08-20  5:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-19  5:20 [PATCH 0/3] linux-yocto: consolidated pull request Bruce Ashfield
2011-08-19  5:20 ` [PATCH 1/3] linux-yocto: restoring LINUX_VERSION ?= "3.0" Bruce Ashfield
2011-08-19  9:43   ` Phil Blundell
2011-08-19 12:53     ` Bruce Ashfield
2011-08-19 17:24       ` Richard Purdie
2011-08-19 19:05         ` Khem Raj
2011-08-19 20:51         ` Bruce Ashfield
2011-08-20  3:51           ` Bruce Ashfield
2011-08-19  5:20 ` [PATCH 2/3] linux-yocto: move more default values into linux-yocto.inc Bruce Ashfield
2011-08-19  5:20 ` [PATCH 3/3] linux-yocto: update SRCREVs for 3.0.3 Bruce Ashfield
2011-08-20  5:08 ` [PATCH 0/3] linux-yocto: consolidated pull request Bruce Ashfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox