mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +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)
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
# detect legacy kernel installs and abort to prevent upgrades
|
# detect legacy kernel installs and abort to prevent upgrades
|
||||||
if [ "$(uname -r)" = "3.14.29" ]; then
|
case $(uname -r) in
|
||||||
echo "Update from 3.14 is not supported!"
|
3.14*|4.9*)
|
||||||
sleep 10
|
echo "Updates from Amlogic vendor kernels are not supported!"
|
||||||
exit 1
|
sleep 10
|
||||||
fi
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# allow upgrades between aarch64 and arm images
|
# allow upgrades between aarch64 and arm images
|
||||||
PROJECT=$("$1" | cut -d. -f1)
|
PROJECT=$("$1" | cut -d. -f1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user