fix: add linux headers for busybox build
busybox static musl build / build-and-release (push) Failing after 21s
iperf3 static musl build / build-and-release (push) Successful in 20s

This commit is contained in:
Hermes Agent
2026-05-08 00:10:10 +00:00
parent 92f2c636be
commit 9d69535ad9
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ on:
- main - main
paths: paths:
- .gitea/workflows/iperf3.yml - .gitea/workflows/iperf3.yml
- scripts/** - scripts/build_iperf3.sh
- scripts/publish_release.py
- versions/iperf3.version - versions/iperf3.version
- README.md - README.md
workflow_dispatch: workflow_dispatch:
+1 -1
View File
@@ -7,7 +7,7 @@ PREFIX_NAME="busybox-${VERSION}-linux-amd64-musl-static"
mkdir -p "$OUTPUT_DIR" mkdir -p "$OUTPUT_DIR"
apk add --no-cache build-base bzip2 curl file tar xz apk add --no-cache build-base bzip2 curl file linux-headers tar xz
SRCDIR="${TMPDIR:-/tmp}/busybox-src-${VERSION}" SRCDIR="${TMPDIR:-/tmp}/busybox-src-${VERSION}"
rm -rf "$SRCDIR" rm -rf "$SRCDIR"