update 2024-03-09 00:18:42

This commit is contained in:
github-actions[bot] 2024-03-09 00:18:42 +08:00
parent ddfbde6fa7
commit afd8fcf263
3 changed files with 10 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# AutoUpdate for Openwrt
# Dependences: wget-ssl/wget/uclient-fetch curl jq expr sysupgrade
Version=V6.9.8
Version=V6.9.9
function TITLE() {
clear && echo "Openwrt-AutoUpdate Script by Hyy2001 ${Version}"
@ -857,6 +857,7 @@ function DO_UPGRADE() {
$*
if [[ $? != 0 ]]
then
sleep 5
ECHO r "固件更新失败,请尝试使用 [autoupdate -F] 指令更新固件,执行此命令前请备份固件配置!"
exit 1
else

View File

@ -16,7 +16,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-amlogic
PKG_VERSION:=3.1.222
PKG_VERSION:=3.1.223
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0 License

View File

@ -114,7 +114,13 @@ kernel_api="https://github.com/${kernel_repo}"
if [[ -n "${KERNEL_TAGS}" ]]; then
kernel_tag="${KERNEL_TAGS}"
else
[[ "${SOC}" == "rk3588" ]] && kernel_tag="rk3588" || kernel_tag="stable"
if [[ "${SOC}" == "rk3588" ]]; then
kernel_tag="rk3588"
elif [[ "${SOC}" == "rk3528" ]]; then
kernel_tag="rk35xx"
else
kernel_tag="stable"
fi
fi
kernel_tag="${kernel_tag/kernel_/}"