fix: add bash safety headers, ignore GENERAL.upstream.txt, pass UPSTREAM_GENERAL_REF
Some checks failed
ci/woodpecker/manual/ipq60xx Pipeline failed

This commit is contained in:
lingyuzeng
2026-03-01 14:49:39 +08:00
parent 7aefdbd330
commit 2521377f1f
5 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@@ -6,6 +6,7 @@ wrt-wifi/
# configs generated by builds # configs generated by builds
.config .config
.config.old .config.old
Config/GENERAL.upstream.txt
# editor / OS # editor / OS
.DS_Store .DS_Store

View File

@@ -24,6 +24,8 @@ steps:
commands: commands:
- chmod +x ${CI_WORKSPACE}/Scripts/sync_upstream_config.sh - chmod +x ${CI_WORKSPACE}/Scripts/sync_upstream_config.sh
- ${CI_WORKSPACE}/Scripts/sync_upstream_config.sh - ${CI_WORKSPACE}/Scripts/sync_upstream_config.sh
environment:
UPSTREAM_GENERAL_REF: ${UPSTREAM_GENERAL_REF:-main}
- name: build-ipq60xx-wifi-yes - name: build-ipq60xx-wifi-yes
image: ubuntu:24.04 image: ubuntu:24.04

View File

@@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -euo pipefail
PKG_PATH="$GITHUB_WORKSPACE/wrt/package/" PKG_PATH="$GITHUB_WORKSPACE/wrt/package/"
#预置HomeProxy数据 #预置HomeProxy数据

View File

@@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
#安装和更新软件包 #安装和更新软件包
set -euo pipefail
UPDATE_PACKAGE() { UPDATE_PACKAGE() {
local PKG_NAME=$1 local PKG_NAME=$1
local PKG_REPO=$2 local PKG_REPO=$2

View File

@@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -euo pipefail
#移除luci-app-attendedsysupgrade #移除luci-app-attendedsysupgrade
sed -i "/attendedsysupgrade/d" $(find ./feeds/luci/collections/ -type f -name "Makefile") sed -i "/attendedsysupgrade/d" $(find ./feeds/luci/collections/ -type f -name "Makefile")
#修改默认主题 #修改默认主题