Custome kernel being overriden

James Mills jmills at avionpartners.com
Mon Jul 7 05:25:31 UTC 2008


Hello.

I have been using the older devel tree with bitbake 1.6 for over a
year now, and have had no problems including custom kernels in my ARM
and "generic" images to this point.  Recently, I moved to the new(er)
stable tree and bitbake 1.8 to take advantage of the newer features.

My ARM image generates fine, and still uses my custom kernel.
However, my x86 "generic" image kernel is being overridden, and I
cannot seem to find out why.  Here is my local.conf:

DL_DIR = "/home/oe/build_environment/sources"
BBFILES = "/home/oe/build_environment/org.openembedded.stable/packages/*/*.bb
/home/oe/build_environment/avion/packages/*/*.bb"
BBFILE_COLLECTIONS = "upstream avion"
BBFILE_PATTERN_upstream = "^/home/oe/build_environment/org.openembedded.stable/"
BBFILE_PATTERN_avion = "^/home/oe/build_environment/avion/"
BBFILE_PRIORITY_upstream = "5"
BBFILE_PRIORITY_avion = "10"
BBMASK = "/gst-plugins-bad"
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
MACHINE = "x86"
TARGET_OS = "linux"
DISTRO = "generic"
KERNEL = "meu-kernel"
MACHINE_KERNEL_VERSION = "2.6"
IMAGE_FSTYPES = "tar.gz"
BBINCLUDELOGS = "yes"
PREFERRED_PROVIDER_virtual/kernel = "meu-kernel"
PREFERRED_VERSION_meu-kernel = "2.6.16.59"
PREFERRED_PROVIDERS += " virtual/kernel:meu-kernel"
PREFERRED_PROVIDER_virtual/db-native = "db-native"
PREFERRED_PROVIDER_virtual/db = "db"
ASSUME_PROVIDED += "python-native"
ASSUME_PROVIDED += "python"
DISTRO_EXTRA_RDEPENDS = "grub dhcp-server ruby vlc ntp ruby-serialport
file avion-base gst-plugin-vixsaudiosrc vixs-db656 vixs-
modules tcpdump procps coreutils tcpdump net-tools less bash usbutils
util-linux-mount util-linux-umount udev-utils ruby-id3lib
 avion-maintenance-meu nano"

I have a custom task (task-meu), and a custom image (meu-image) that I
use to generate the production images.  When I run:

 bitbake -DDD task-meu

and looking at the output, here is the message I am seeing:

DEBUG: adding '/home/oe/build_environment/avion/packages/tasks/task-meu.bb'
to satisfy runtime 'task-meu-core-default'
DEBUG: providers for kernel are: ['meu-kernel', 'linux-epia',
'linux-x86', 'linux-bd-neon-2.6', 'linux']
DEBUG: update_data()
DEBUG: selecting
/home/oe/build_environment/avion/packages/linux/meu-kernel_2.6.16.59.bb
as PREFERRED_VERSION 2.6.16.59 of pack
age meu-kernel (for item kernel)
DEBUG: update_data()
DEBUG: update_data()
DEBUG: update_data()
DEBUG: update_data()
NOTE: selecting linux to satisfy runtime kernel due to
PREFERRED_PROVIDERS_virtual/kernel = linux


I am unable to find any reference to virtual/kernel being overridden
anywhere,  I have moved the x86 and generic machine and distro classes
into my overlay and modified the kernel specifications there as well,
to no avail.

Any clue as to what I can do to get my custom kernel included in the
rootfs again would be greatly appreciated.

Thanks,
James Mills




More information about the Openembedded-users mailing list