mirror of
https://github.com/smittix/intercept.git
synced 2026-07-07 09:08:12 -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 \
|
&& git clone --depth 1 https://github.com/projecthorus/radiosonde_auto_rx.git \
|
||||||
&& cd radiosonde_auto_rx/auto_rx \
|
&& cd radiosonde_auto_rx/auto_rx \
|
||||||
&& pip install --no-cache-dir -r requirements.txt \
|
&& pip install --no-cache-dir -r requirements.txt \
|
||||||
|
&& bash build.sh \
|
||||||
&& mkdir -p /opt/radiosonde_auto_rx/auto_rx \
|
&& mkdir -p /opt/radiosonde_auto_rx/auto_rx \
|
||||||
&& cp -r . /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 \
|
&& chmod +x /opt/radiosonde_auto_rx/auto_rx/auto_rx.py \
|
||||||
|
|||||||
@@ -848,6 +848,12 @@ install_radiosonde_auto_rx() {
|
|||||||
}
|
}
|
||||||
fi
|
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}..."
|
info "Installing to ${install_dir}..."
|
||||||
refresh_sudo
|
refresh_sudo
|
||||||
$SUDO mkdir -p "$install_dir/auto_rx"
|
$SUDO mkdir -p "$install_dir/auto_rx"
|
||||||
|
|||||||
Reference in New Issue
Block a user