[yocto] How to switch kernel version without touching PREFERED VERSION
Paul Eggleton
paul.eggleton at linux.intel.com
Wed Feb 18 08:48:16 PST 2015
On Wednesday 18 February 2015 17:33:26 Valentin Le bescond wrote:
> I tryed editing /meta-wolfson/conf/layer.conf or /build/conf/layer.conf,
> adding :
> PREFERED_VERSION_linux-raspberrypi = "3.10.%"
>
> but neither worked (still using 3.12)
I assume you tried build/conf/local.conf not build/conf/layer.conf?
If so, that should have worked. You can run bitbake -e | less and look through
the history to see what is overriding it if it doesn't work.
> I endded up editing meta-raspberrypi's machine configuration and it works
> fine.
>
> It's good, but that means I will need to apply this change to every
> building machine I will use, or fork the meta-raspberrypi repo, witch is
> another story.
> I was hoping to keep everything inside my wolfson layer. too bad.
FWIW, in general forcing a particular kernel version from a layer.conf like
this isn't very good practice. People who use your layer may not expect to
have the kernel version switched just by adding it to their bblayers.conf.
(There may perhaps be mitigating circumstances in this case.)
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list