From 9d69535ad91826733410e3326c6d94a95c6a6ee1 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Fri, 8 May 2026 00:10:10 +0000 Subject: [PATCH] fix: add linux headers for busybox build --- .gitea/workflows/iperf3.yml | 3 ++- scripts/build_busybox.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/iperf3.yml b/.gitea/workflows/iperf3.yml index 484b82f..0c767e8 100644 --- a/.gitea/workflows/iperf3.yml +++ b/.gitea/workflows/iperf3.yml @@ -6,7 +6,8 @@ on: - main paths: - .gitea/workflows/iperf3.yml - - scripts/** + - scripts/build_iperf3.sh + - scripts/publish_release.py - versions/iperf3.version - README.md workflow_dispatch: diff --git a/scripts/build_busybox.sh b/scripts/build_busybox.sh index cc68867..c807278 100755 --- a/scripts/build_busybox.sh +++ b/scripts/build_busybox.sh @@ -7,7 +7,7 @@ PREFIX_NAME="busybox-${VERSION}-linux-amd64-musl-static" 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}" rm -rf "$SRCDIR"