[yocto] How to switch kernel version without touching PREFERED VERSION
Gary Thomas
gary at mlbassoc.com
Wed Feb 18 08:41:36 PST 2015
On 2015-02-18 09:33, Valentin Le bescond wrote:
> Hi Paul, thank you.
>
> 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 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.
>
> Thanks again.
Is this the actual line you used? It should be
PREFERRED_VERSION_linux-raspberrypi = "3.10.%"
Note the spelling.
Also, if you want to make a change like this, use local.conf.
It really doesn't belong in any layer.conf
BTW, what's your reason for using an older kernel?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the yocto
mailing list