cancel
Showing results for 
Search instead for 
Did you mean: 

Change preferred linux version

souhail_haggui
Associate
Hello,

I am using meta-st-stm32mp which points to mickledore and is using linux 6.1.82.
I would like to use linux 5.10.xx instead, so I got the kernel recipe from Dunfell Branch and put it
in a custom recipe, after that I set in my local.conf the following variable PREFERRED_VERSION_linux-yocto := "5.10.%". However after doing bitbake -c cleasstate virtual/kernel and bitbake virtual/kernel it is still using linux 6.1.82!! Does anyone have any idea please how to set this correctly?
 
local.conf
# PREFERRED_VERSION_linux-stm32mp ??= "5.1%"
PREFERRED_VERSION_linux-yocto := "5.1%"
PREFERRED_VERSION_linux-yocto-rt := "5.1%"
 
bitbake -e virtual/kernel | grep PREFERRED_VERSION_linux-yocto
# $PREFERRED_VERSION_linux-yocto
PREFERRED_VERSION_linux-yocto="6.1%"
# $PREFERRED_VERSION_linux-yocto-rt
PREFERRED_VERSION_linux-yocto-rt="6.1%"

Kind regards,
Souhail
0 REPLIES 0