From e785ecf8845be2734853fb0cda1618cd54f387ff Mon Sep 17 00:00:00 2001 From: klever1988 <56048681+klever1988@users.noreply.github.com> Date: Tue, 10 Mar 2020 15:27:46 +0800 Subject: [PATCH] Update r1s_lean_h3.yml --- .github/workflows/r1s_lean_h3.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/r1s_lean_h3.yml b/.github/workflows/r1s_lean_h3.yml index aaf2d6b..86f83db 100644 --- a/.github/workflows/r1s_lean_h3.yml +++ b/.github/workflows/r1s_lean_h3.yml @@ -1,4 +1,4 @@ -name: r1s Lean版openwrt +name: r1s(H3) Lean版openwrt on: push: @@ -47,6 +47,8 @@ jobs: - name: Mods run: | cd friendlywrt-h3 + sed -i 's/CONFIG_TARGET_MULTI_PROFILE/CONFIG_TARGET_sunxi_cortexa7_Default/' configs/config_h3 + sed -d '/CONFIG_TARGET_DEVICE/d' configs/config_h3 . ../remove_unused_config.sh cat ../app_config.seed >> configs/config_h3 echo '# CONFIG_V2RAY_COMPRESS_UPX is not set' >> configs/config_h3 @@ -83,7 +85,7 @@ jobs: cd friendlywrt-h3/friendlywrt ./scripts/feeds update -a && ./scripts/feeds install -a sed -i '/Load Average/i\<%:CPU Temperature%><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%>' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm - sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm + sed -i 's/pcdata(boardinfo.system or "?")/"ARMv7"/' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm - name: Build FriendlyWrt run: | @@ -116,7 +118,7 @@ jobs: run: | cd friendlywrt-h3 sed -i '130,150 {/build_friendlywrt/d}' scripts/build.sh - ./build.sh nanopi_r1s.mk + ./build.sh nanopi_r1s_h3.mk - name: Zip Files run: |