From dd24a2a73990dc613e971c100b635d372a88221f Mon Sep 17 00:00:00 2001 From: Smittix Date: Thu, 5 Mar 2026 14:54:49 +0000 Subject: [PATCH] fix: add progress messages to dump1090 install flow (#177) Users reported setup.sh appearing stuck during dump1090 installation on Ubuntu 25.10. Added progress messages before APT package checks, build dependency installation, and fallback clone steps. Co-Authored-By: Claude Opus 4.6 --- setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 401f0ef..94373de 100755 --- a/setup.sh +++ b/setup.sh @@ -1090,8 +1090,9 @@ install_radiosonde_auto_rx() { # --- dump1090 (Debian from source) --- install_dump1090_from_source_debian() { - info "dump1090 not available via APT. Building from source (required)..." + info "dump1090 not available via APT. Building from source (this may take a few minutes)..." + info "Installing build dependencies for dump1090..." apt_install build-essential git pkg-config \ librtlsdr-dev libusb-1.0-0-dev \ libncurses-dev tcl-dev python3-dev @@ -1128,6 +1129,7 @@ install_dump1090_from_source_debian() { tail -20 "$build_log" | while IFS= read -r line; do warn " $line"; done rm -rf "$tmp_dir/dump1090" + info "Cloning wiedehopf/readsb..." git clone --depth 1 https://github.com/wiedehopf/readsb.git "$tmp_dir/dump1090" >/dev/null 2>&1 \ || { fail "Failed to clone wiedehopf/readsb"; exit 1; } @@ -1462,6 +1464,7 @@ install_tool_dump1090() { $SUDO rm -f "$dump1090_path" fi if ! cmd_exists dump1090 && ! cmd_exists dump1090-mutability; then + info "Checking for dump1090 APT packages..." apt_try_install_any dump1090-fa dump1090-mutability dump1090 || true fi if ! cmd_exists dump1090; then