Skip to content

Commit

Permalink
Add SpyServer support (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricTendian authored Dec 2, 2023
1 parent cbc161e commit ed36788
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 57 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN apt-get update && \
libfreesrp-dev \
libgmp-dev \
libhackrf-dev \
libmirisdr-dev \
liborc-0.4-dev \
libpthread-stubs0-dev \
librtlsdr-dev \
Expand All @@ -41,25 +42,22 @@ RUN apt-get update && \
wget && \
rm -rf /var/lib/apt/lists/*

COPY lib/gr-osmosdr/airspy_source_c.cc.patch /tmp/airspy_source_c.cc.patch

# Fix the error message level for SmartNet

RUN sed -i 's/log_level = debug/log_level = info/g' /etc/gnuradio/conf.d/gnuradio-runtime.conf

# Compile gr-osmosdr ourselves so we can install the Airspy serial number patch
# Compile gr-osmosdr ourselves using a fork with various patches included
RUN cd /tmp && \
git clone https://git.osmocom.org/gr-osmosdr && \
git clone https://github.com/racerxdl/gr-osmosdr.git && \
cd gr-osmosdr && \
git apply ../airspy_source_c.cc.patch && \
mkdir build && \
cd build && \
cmake -DENABLE_NONFREE=TRUE .. && \
make -j$(nproc) && \
make install && \
ldconfig && \
cd /tmp && \
rm -rf gr-osmosdr airspy_source_c.cc.patch
rm -rf gr-osmosdr

WORKDIR /src

Expand Down
51 changes: 0 additions & 51 deletions lib/gr-osmosdr/airspy_source_c.cc.patch

This file was deleted.

0 comments on commit ed36788

Please sign in to comment.