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 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-03-05 14:54:49 +00:00
parent 52a28167c9
commit 87a5715f30

View File

@@ -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