From 898474e6ffc676ebc71636cde5bdacf370f3d083 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 6 May 2015 19:10:47 +0200 Subject: [PATCH] core90: update kernel version in uEnv.txt --- config/rootfiles/core/90/update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfiles/core/90/update.sh b/config/rootfiles/core/90/update.sh index 1e0a548811..80525ef3d1 100644 --- a/config/rootfiles/core/90/update.sh +++ b/config/rootfiles/core/90/update.sh @@ -231,6 +231,11 @@ case "$(uname -m)" in esac esac +# Upadate Kernel version uEnv.txt +if [ -e /boot/uEnv.txt ]; then + sed -i -e "s/KVER=.*/KVER=${KVER}/g" /boot/uEnv.txt +fi + # Force (re)install pae kernel if pae is supported rm -rf /opt/pakfire/db/*/meta-linux-pae if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then -- 2.39.5