Add files via upload

This commit is contained in:
桐话
2024-04-05 12:13:06 +08:00
committed by GitHub
parent 175cb5dd8e
commit 7be0489a34
+2 -1
View File
@@ -20,12 +20,13 @@ jobs:
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_data=$(echo "$content" | sed "s/^[[:space:]]*//; s/[[:space:]]*$//")
model_data=$(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
sed -i "/#\s*CONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_dg_nas\s*is\s*not\s*set/d" ./rk35xx/.config
echo -e "\\n$model_data" >> ./rk35xx/.config
- name: 同步配置