Add files via upload
This commit is contained in:
@@ -21,14 +21,14 @@ jobs:
|
||||
wget -O ./rk35xx/.config https://fw0.koolcenter.com/iStoreOS/station-p2/config.buildinfo --no-check-certificate
|
||||
|
||||
content=$(cat $GITHUB_WORKSPACE/file/config_data.txt)
|
||||
model_data=$(echo "$content" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//')
|
||||
configdata=$(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
|
||||
echo -e "\\n$configdata" >> ./rk35xx/.config
|
||||
|
||||
- name: 同步配置
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
||||
Reference in New Issue
Block a user