diff --git a/scripts/autoupdate-bash.sh b/scripts/autoupdate-bash.sh index f27b7f4..752224a 100644 --- a/scripts/autoupdate-bash.sh +++ b/scripts/autoupdate-bash.sh @@ -54,6 +54,7 @@ sleep 10 cd /mnt/img sysupgrade -b back.tar.gz tar zxf back.tar.gz +opkg list-installed | grep "luci-i18n\|luci-app" | cut -d\ -f1 > packages_needed if ! grep -q macaddr /etc/config/network; then echo -e '\e[91m注意:由于已知的问题,“网络接口”配置无法继承,重启后需要重新设置WAN拨号和LAN网段信息\e[0m' rm etc/config/network; diff --git a/scripts/patches.sh b/scripts/patches.sh index b3273c9..f91fec9 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -20,6 +20,8 @@ sed -i '/skip\=/ a skip=`mount | grep -q /dev/$device; echo $?`' `find package/ mkdir -p `find package/ -follow -type d -path '*/pdnsd-alt'`/patches mv $GITHUB_WORKSPACE/patches/99-disallow-aaaa.patch `find package/ -follow -type d -path '*/pdnsd-alt'`/patches +sed -i 's/5.0/1.0/' .ccache/ccache.conf + if [ $BRANCH == 'master' ]; then sed -i 's/5.10/5.4/' target/linux/rockchip/Makefile