mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 07:57:49 +00:00
Rockchip: allow updates for MiQi and Tinker devices
MiQi and Tinker devices have been merged to RK3288 device at some point after LE9.2 release. This allows updating for them as well through mapping to the new RK3288 device. While at that also drop the pointless check for kernel versions.
This commit is contained in:
parent
dc5fc13722
commit
a2c61d7906
@ -1,14 +1,12 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
# detect legacy kernel installs and abort to prevent upgrades
|
# devices have been renamed after LE9.2
|
||||||
case $(uname -r) in
|
if [ "${1}" = "TinkerBoard.arm" -o "${1}" = "MiQi.arm" ]; then
|
||||||
4.4*)
|
if [ "${2}" = "RK3288.arm" ]; then
|
||||||
echo "Updates from legacy kernels are not supported!"
|
exit 0
|
||||||
sleep 10
|
fi
|
||||||
exit 1
|
fi
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Allow upgrades between arm and aarch64
|
# Allow upgrades between arm and aarch64
|
||||||
if [ "${1}" = "@PROJECT@.arm" -o "${1}" = "@PROJECT@.aarch64" ]; then
|
if [ "${1}" = "@PROJECT@.arm" -o "${1}" = "@PROJECT@.aarch64" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user