debian/*/build-deb.sh: add curl timeouts (10s connect, 600s total, 3 retries)

Without timeouts, a slow/dead-TCP upstream (e.g. github tarballs)
hangs the runner indefinitely.  Today run 15185 mpv-fourier-debian
sat 6+ min on "curl -sSLfo mpv.tar.gz https://github.com/.../mpv-0.41.0.tar.gz"
with no progress visible — fermis act_runner blocked, slot unusable
for parallel work.

--connect-timeout 10  fails fast if upstream is unreachable
--max-time 600        caps worst-case at 10 min per fetch
--retry 3             handles transient flakes
--retry-delay 5       gives transient outages a moment

Patched in: claude-his-agent, daedalus-v4l2, daedalus-v4l2-dkms,
libva-v4l2-request-fourier, lmcp, mpv-fourier.  ffmpeg-v4l2-request-fourier
has no curl call.
This commit is contained in:
2026-05-20 16:32:36 +02:00
parent 8cf0efd9ee
commit dfdee75668
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ work=$(mktemp -d)
trap "rm -rf $work" EXIT
cd "$work"
curl -sSLfo daedalus-v4l2.tar.gz \
curl --connect-timeout 10 --max-time 600 --retry 3 --retry-delay 5 -sSLfo daedalus-v4l2.tar.gz \
"https://git.reauktion.de/reauktion/daedalus-v4l2/archive/${UPSTREAM_COMMIT}.tar.gz"
tar xzf daedalus-v4l2.tar.gz
SRCDIR=daedalus-v4l2