[yocto] [PATCH 1/9] meta-crownbay: switch to linux-yocto 3.0 kernel

Bruce Ashfield bruce.ashfield at windriver.com
Sat Aug 20 20:26:59 PDT 2011


On 11-08-20 11:26 AM, tom.zanussi at intel.com wrote:
> From: Tom Zanussi<tom.zanussi at intel.com>
>
> Switch crownbay and crownbay-noemgd to the 3.0 kernel, lock it down,
> and update kernel SRCREVs.
>
> Signed-off-by: Tom Zanussi<tom.zanussi at intel.com>
> ---
>   meta-crownbay/conf/machine/crownbay-noemgd.conf    |    2 ++
>   meta-crownbay/conf/machine/crownbay.conf           |    2 ++
>   .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |   15 +++++++++++++++
>   3 files changed, 19 insertions(+), 0 deletions(-)
>   create mode 100644 meta-crownbay/recipes-kernel/linux/linux-yocto_3.0.bbappend
>
> diff --git a/meta-crownbay/conf/machine/crownbay-noemgd.conf b/meta-crownbay/conf/machine/crownbay-noemgd.conf
> index 0219bd1..0a82b54 100644
> --- a/meta-crownbay/conf/machine/crownbay-noemgd.conf
> +++ b/meta-crownbay/conf/machine/crownbay-noemgd.conf
> @@ -12,6 +12,8 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 \
>   KERNEL_IMAGETYPE = "bzImage"
>
>   PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> +PREFERRED_VERSION_linux-yocto = "3.0+git%"

Did you want to make all these:

PREFERRED_VERSION_linux-yocto = "3.0%"

Since that will match 3.0.1, 3.0.2 ... etc. That's what I changed
the other machines to, and was the outcome of the version number
discussion on the oe-core list.

Cheers,

Bruce

> +
>   PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
>   PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
>   PREFERRED_PROVIDER_virtual/libgl  ?= "mesa-dri"
> diff --git a/meta-crownbay/conf/machine/crownbay.conf b/meta-crownbay/conf/machine/crownbay.conf
> index 323c8c1..b4ea4b4 100644
> --- a/meta-crownbay/conf/machine/crownbay.conf
> +++ b/meta-crownbay/conf/machine/crownbay.conf
> @@ -12,6 +12,8 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 \
>   KERNEL_IMAGETYPE = "bzImage"
>
>   PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> +PREFERRED_VERSION_linux-yocto = "3.0+git%"
> +
>   PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
>   PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
>   PREFERRED_PROVIDER_virtual/libgl  ?= "mesa-dri"
> diff --git a/meta-crownbay/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-crownbay/recipes-kernel/linux/linux-yocto_3.0.bbappend
> new file mode 100644
> index 0000000..c9aef72
> --- /dev/null
> +++ b/meta-crownbay/recipes-kernel/linux/linux-yocto_3.0.bbappend
> @@ -0,0 +1,15 @@
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> +
> +COMPATIBLE_MACHINE_crownbay = "crownbay"
> +KMACHINE_crownbay  = "yocto/standard/crownbay"
> +KERNEL_FEATURES_append_crownbay += " cfg/smp.scc"
> +
> +COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd"
> +KMACHINE_crownbay-noemgd  = "yocto/standard/crownbay"
> +KERNEL_FEATURES_append_crownbay-noemgd += " cfg/smp.scc"
> +
> +SRCREV_machine_pn-linux-yocto_crownbay ?= "9a259cf4f6d404db2820642df755a295bbfb7fe7"
> +SRCREV_meta_pn-linux-yocto_crownbay ?= "fe8eac15e144a35a716cd32c9d2b296ecd5202ac"
> +
> +SRCREV_machine_pn-linux-yocto_crownbay-noemgd ?= "9a259cf4f6d404db2820642df755a295bbfb7fe7"
> +SRCREV_meta_pn-linux-yocto_crownbay-noemgd ?= "fe8eac15e144a35a716cd32c9d2b296ecd5202ac"




More information about the yocto mailing list