Skip to content
Snippets Groups Projects
Commit bd3d87e0 authored by Lorenzo Pagliai's avatar Lorenzo Pagliai
Browse files

[KERNEL][VERSION] Update preferrred version for C31

* Update preferred kernel version to 5.10 for C31
* Add comment to make the kernel version forcing reason for some of the
  boards more explanatory
parent 7c698616
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,13 @@ PREFERRED_KERNEL=$(bitbake virtual/kernel -e | grep ^PREFERRED_PROVIDER_virtual/
KERNEL_VERSION=$(bitbake virtual/kernel -e | grep ^PREFERRED_VERSION_${PREFERRED_KERNEL} | awk -F'=' '{print $2}' | sed 's/\"//g' | head -1)
kernel_version="$(echo ${KERNEL_VERSION%\%} | sed 's/\./-/g')"
# Some of the boards inside Edgehog does not have
# a valid value of KERNEL_VERSION variable so we
# need to force its value as long as bug fixes are
# not performed
case "$BOARD" in
*"c31"*)
kernel_version="4-19"
kernel_version="5-10"
;;
*"tanaro"*)
kernel_version="5-10"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment