Patchwork [1/1] machine/qemu: set preferred linux-yocto kernel version

login
register
mail settings
Submitter Bruce Ashfield
Date July 25, 2011, 2:51 p.m.
Message ID <35b13046d50006f3eec3f0cbfd37c8463c1fb485.1311605321.git.bruce.ashfield@windriver.com>
Download mbox | patch
Permalink /patch/8455/
State New, archived
Headers show

Comments

Bruce Ashfield - July 25, 2011, 2:51 p.m.
The introduction of the linux-yocto-3.0 kernel is taking
precedence over the known working 2.6.37 version. Forcing
2.6.37 until 3.0 is validated on the qemu machines.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/conf/machine/include/qemu.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Bruce Ashfield - July 25, 2011, 2:56 p.m.
On Mon, Jul 25, 2011 at 10:51 AM, Bruce Ashfield
<bruce.ashfield@windriver.com> wrote:
> The introduction of the linux-yocto-3.0 kernel is taking
> precedence over the known working 2.6.37 version. Forcing
> 2.6.37 until 3.0 is validated on the qemu machines.
>
> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
> ---
>  meta/conf/machine/include/qemu.inc |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
> index 9ef242f..c2d116f 100644
> --- a/meta/conf/machine/include/qemu.inc
> +++ b/meta/conf/machine/include/qemu.inc
> @@ -12,6 +12,7 @@ RDEPENDS_kernel-base = ""
>
>  # Use a common kernel recipe for all QEMU machines
>  PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> +PREFERRED_VERSION_linux-yocto = "2.6.37+git%"

gak. This should be ?=, I'll update the patch and re-push.

Bruce

>  #PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
>
>  EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
> --
> 1.7.4.1
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Koen Kooi - July 25, 2011, 3:03 p.m.
Op 25 jul. 2011, om 16:51 heeft Bruce Ashfield het volgende geschreven:

> The introduction of the linux-yocto-3.0 kernel is taking
> precedence over the known working 2.6.37 version. Forcing
> 2.6.37 until 3.0 is validated on the qemu machines.
> 
> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
> ---
> meta/conf/machine/include/qemu.inc |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
> index 9ef242f..c2d116f 100644
> --- a/meta/conf/machine/include/qemu.inc
> +++ b/meta/conf/machine/include/qemu.inc
> @@ -12,6 +12,7 @@ RDEPENDS_kernel-base = ""
> 
> # Use a common kernel recipe for all QEMU machines
> PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> +PREFERRED_VERSION_linux-yocto = "2.6.37+git%"

Please not that this won't do anything on incremental builds or when using package feeds since the cat is already out of the bag for the 3.0rc7 version.

Patch

diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
index 9ef242f..c2d116f 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -12,6 +12,7 @@  RDEPENDS_kernel-base = ""
 
 # Use a common kernel recipe for all QEMU machines
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
+PREFERRED_VERSION_linux-yocto = "2.6.37+git%"
 #PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
 
 EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"