Go to file
Bruce Ashfield e77646bc2c kernel.bbclass: add non-santized kernel provides
If the kernel version string uses characters or symbols that
need to be santized for the package name, we can end up with a
mismatch between module requirements and what the kernel
provides.

The kernel version is pulled from utsrelease.h, which contains
the exact string that was passed to the kernel build, not
one that is santized, this can result in:

 echo "CONFIG_LOCALVERSION="\"MYVER+snapshot_standard\" >> ${B}/.config

 <build>

 % rpm -qp kernel-module-uvesafb-3.4-r0.qemux86.rpm --requires
update-modules
kernel-3.4.3-MYVER+snapshot_standard
 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

At rootfs assembly time, we'll have a dependency issue with the kernel
providing the santizied string and the modules requiring the utsrelease.h
string.

To not break existing use cases, we can add a second provides to the
kernel packaging with the unsantized version string, and allowing the
kernel module packaging to be unchanged.

   RPROVIDES_kernel-base += "kernel-${KERNEL_VERSION}"

 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-MYVER+snapshot_standard
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-17 08:55:09 +02:00
contrib oe-stylize.py: Add SUMMARY variable 2012-04-24 08:07:28 +02:00
meta-efl edje: explicitly enable libsndfile for target recipe 2012-07-13 11:28:26 +02:00
meta-gnome cheese: add 2.30.1 2012-07-13 11:28:28 +02:00
meta-gpe gpe-scap: migrate to use libsoup-2.4 instead of libsoup-2.2 API 2012-05-09 17:09:48 +02:00
meta-initramfs ubi-utils-klibc: initial commit of version 1.4.9 2012-04-30 10:15:35 +02:00
meta-multimedia sox: add 14.4.0 2012-09-02 15:03:01 +02:00
meta-oe kernel.bbclass: add non-santized kernel provides 2012-10-17 08:55:09 +02:00
meta-xfce README: keep PATCH prefix in subject-prefix, some people filter their inbox based on that 2012-04-26 13:49:15 +02:00
toolchain-layer README: keep PATCH prefix in subject-prefix, some people filter their inbox based on that 2012-04-26 13:49:15 +02:00
COPYING.MIT add README and license for this layer 2011-02-13 16:47:32 +01:00
README README: add top level readme, update meta-oe one 2011-10-17 09:27:01 +02:00

Collection of layers for the OE-core universe

Please see the respective READMEs in the layer subdirectories