Update r1s_lean_h3.yml

This commit is contained in:
klever1988
2020-03-10 15:27:46 +08:00
committed by GitHub
parent 966921c7d7
commit e785ecf884

View File

@@ -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\<tr><td width="33%"><%:CPU Temperature%></td><td><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp")%></td></tr>' 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: |