#!/usr/bin/env bash# Install-build-deps phase: run via `hetzner-runner exec -script install-deps.sh`# against a box already synced by sync.sh in an earlier step.set -euo pipefail: ""export PATH="$HOME/depot_tools:$PATH"retry() {local desc="$1"; shiftlocal attempt=1local max=5until "$@"; doif [ "$attempt" -ge "$max" ]; thenecho "$desc failed after $attempt attempts, giving up"return 1fiecho "$desc failed (attempt $attempt/$max); retrying in 5s"attempt=$((attempt + 1))sleep 5done}# Already root on this box -- no sudo/no_new_privs wrinkle to work around.retry "install-build-deps" "$CHROMIUM_ROOT/src/build/install-build-deps.py" --no-prompt