selecting custom kernel for image
Edward K Chien
echien at redback.com
Fri Sep 26 23:59:07 UTC 2008
Hi,
I'm trying to build the generic distro with my own custom kernel. I
copied over the conf/distro/generic.conf and created my own distro's
foo.conf file. I've tried adding my kernel by adding this line to my
foo.conf file.
$ PERFERRED_PROVIDER_virtual/kernel = "linux-rbn"
But when I build, I see that 'linux-x86' and 'linux-epia' are
preferred over my 'linux-rbn'. Is there a simple way I can force it
to use my specific kernel? BTW, my MACHINE is specified as 'i586-
generic' and I also did go in there and changed its
PERFERRED_PROVIDER_virtual/kernel to my kernel too. And no dice.
$ RBOS-PC-12:/local/base$ bitbake virtual/kernel -D |grep linux-rbn
$ DEBUG: Removing /local/base/oe/packages/linux/linux-rbn_2.6.21.bb
from cache
$ DEBUG: Parsing /local/base/oe/packages/linux/linux-
rbn_2.6.21.bbDEBUG: providers for virtual/kernel are: ['linux-x86',
'linux-epia', 'linux-rbn', 'linux-bd-neon-2.6', 'linux']
$ DEBUG: sorted providers for virtual/kernel are: ['/local/base/oe/
packages/linux/linux-x86_2.6.20.bb', '/local/base/oe/packages/linux/
linux-epia_2.6.19.2.bb', '/local/base/oe/packages/linux/linux-
rbn_2.6.21.bb', '/local/base/oe/packages/linux/linux-bd-
neon-2.6_2.6.22.bb', '/local/base/oe/packages/linux/linux_2.6.21.bb']
$ NOTE: multiple providers are available for virtual/kernel (linux-
x86, linux-epia, linux-rbn, linux-bd-neon-2.6, linux);
I guess, for now, I'll have to walk through the code and figure out
how OE sets this variable.
Eddie
More information about the Openembedded-users
mailing list