From d8be9dfc38b9f5869a4f8269b79b7e29f5c293da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E8=AF=9D?= <49544781+xiaomeng9597@users.noreply.github.com> Date: Fri, 5 Apr 2024 11:23:15 +0800 Subject: [PATCH] Add files via upload --- .github/workflows/sync-files.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-files.yml b/.github/workflows/sync-files.yml index bad82d2..af66d9f 100644 --- a/.github/workflows/sync-files.yml +++ b/.github/workflows/sync-files.yml @@ -19,12 +19,14 @@ jobs: rm -f ./rk35xx/.config wget -O ./rk35xx/feeds.conf https://fw0.koolcenter.com/iStoreOS/station-p2/feeds.conf --no-check-certificate wget -O ./rk35xx/.config https://fw0.koolcenter.com/iStoreOS/station-p2/config.buildinfo --no-check-certificate + content=$(cat $GITHUB_WORKSPACE/file/model.txt) + model_string=$(echo "$content" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//') sed -i "/CONFIG_TARGET_DEVICE_rockchip_.*=.*/d" ./rk35xx/.config sed -i "/CONFIG_PACKAGE_dtc=y/d" ./rk35xx/.config # sed -i "/CONFIG_PACKAGE_luci-app-istorex=m/d" ./rk35xx/.config sed -i "/#\s*CONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_jp_tvbox\s*is\s*not\s*set/d" ./rk35xx/.config sed -i "/#\s*CONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_panther_x2\s*is\s*not\s*set/d" ./rk35xx/.config - echo -e "\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_easepi_ars4=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_fastrhino_r6xs=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_firefly_station-p2=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_friendlyarm_nanopi-r5s=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_friendlyarm_nanopi-r6s=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_hinlink_h88k=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_hinlink_opc-h6xk=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_hlink_h28k=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_idiskk_h1=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_lyt_t68m=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_yyy_h1=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_jp_tvbox=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_panther_x2=y\\nCONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_dg_nas=y" >> ./rk35xx/.config + echo -e "\\n$model_string" >> ./rk35xx/.config - name: 同步配置 uses: peaceiris/actions-gh-pages@v3