mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
amlogic: prevent upgrade from 4.9 kernels
This commit is contained in:
parent
4f9a7bcdbb
commit
f253c5b838
@ -4,11 +4,13 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
# detect legacy kernel installs and abort to prevent upgrades
|
||||
if [ "$(uname -r)" = "3.14.29" ]; then
|
||||
echo "Update from 3.14 is not supported!"
|
||||
sleep 10
|
||||
exit 1
|
||||
fi
|
||||
case $(uname -r) in
|
||||
3.14*|4.9*)
|
||||
echo "Updates from Amlogic vendor kernels are not supported!"
|
||||
sleep 10
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# allow upgrades between aarch64 and arm images
|
||||
PROJECT=$("$1" | cut -d. -f1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user