core90: run user update script at kernel update.

fixes #10767
This commit is contained in:
Arne Fitzenreiter
2015-05-06 19:28:40 +02:00
parent ba837e8842
commit 58efaf8e18

View 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