mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
fix: build radiosonde_auto_rx C decoders (dft_detect, fsk_demod, etc.)
setup.sh and Dockerfile were installing the Python package and copying files but skipping the build.sh step that compiles the C decoders. This caused "Binary dft_detect does not exist" at runtime. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -205,6 +205,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& git clone --depth 1 https://github.com/projecthorus/radiosonde_auto_rx.git \
|
||||
&& cd radiosonde_auto_rx/auto_rx \
|
||||
&& pip install --no-cache-dir -r requirements.txt \
|
||||
&& bash build.sh \
|
||||
&& mkdir -p /opt/radiosonde_auto_rx/auto_rx \
|
||||
&& cp -r . /opt/radiosonde_auto_rx/auto_rx/ \
|
||||
&& chmod +x /opt/radiosonde_auto_rx/auto_rx/auto_rx.py \
|
||||
|
||||
6
setup.sh
6
setup.sh
@@ -848,6 +848,12 @@ install_radiosonde_auto_rx() {
|
||||
}
|
||||
fi
|
||||
|
||||
info "Building radiosonde_auto_rx C decoders..."
|
||||
if ! bash build.sh; then
|
||||
warn "Failed to build radiosonde_auto_rx decoders"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
info "Installing to ${install_dir}..."
|
||||
refresh_sudo
|
||||
$SUDO mkdir -p "$install_dir/auto_rx"
|
||||
|
||||
Reference in New Issue
Block a user