core90: run user update script at kernel update.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 6 May 2015 17:28:40 +0000 (19:28 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 6 May 2015 17:28:40 +0000 (19:28 +0200)
fixes #10767

config/rootfiles/core/90/update.sh

index d441726..7e41f4b 100644 (file)
@@ -240,6 +240,12 @@ if [ -e /boot/uEnv.txt ]; then
        sed -i -e "s/KVER=.*/KVER=${KVER}/g" /boot/uEnv.txt
 fi
 
+# call user update script (needed for some arm boards)
+if [ -e /boot/pakfire-kernel-update ]; then
+       /boot/pakfire-kernel-update
+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