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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to