Ver código fonte
Version 5 (#39 )
* Add airband and limesdr toolbox support
* Update validate.yml
* add osmo-fl2k support
* add hamlib support
* add vaportrail support
* add universal radio hacker support
* clone just latest code from git
* add dump1090 support
* add foxtelem support
tags/5.1.0
Luigi Cruz
4 anos atrás
committed by
GitHub
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 4AEE18F83AFDEB23
43 arquivos alterados com
167 adições e
35 exclusões
.github/workflows/validate.yml
builder/stage4/05-pisdr-uhd/00-run.sh
builder/stage4/06-pisdr-gnuradio/00-run.sh
builder/stage4/07-pisdr-soapysdr/01-run.sh
builder/stage4/07-pisdr-soapysdr/02-run.sh
builder/stage4/07-pisdr-soapysdr/03-run.sh
builder/stage4/08-pisdr-limesdr/00-run.sh
builder/stage4/08-pisdr-limesdr/01-run.sh
builder/stage4/09-pisdr-airspy/00-run.sh
builder/stage4/09-pisdr-airspy/01-run.sh
builder/stage4/09-pisdr-airspy/02-run.sh
builder/stage4/09-pisdr-airspy/03-run.sh
builder/stage4/10-pisdr-rtlsdr/00-run.sh
builder/stage4/10-pisdr-rtlsdr/01-run.sh
builder/stage4/11-pisdr-plutosdr/00-run.sh
builder/stage4/11-pisdr-plutosdr/01-run.sh
builder/stage4/11-pisdr-plutosdr/02-run.sh
builder/stage4/11-pisdr-plutosdr/03-run.sh
builder/stage4/12-pisdr-hackrf/01-run.sh
builder/stage4/13-pisdr-osmocom/00-run.sh
builder/stage4/14-pisdr-gqrx/00-run.sh
builder/stage4/15-pisdr-cygnusrf/00-run.sh
builder/stage4/16-pisdr-rtl443/00-run.sh
builder/stage4/17-pisdr-sdrangel/05-run.sh
builder/stage4/18-pisdr-libacars/00-run.sh
builder/stage4/19-pisdr-acarsdec/00-run.sh
builder/stage4/20-pisdr-multimonng/00-run.sh
builder/stage4/21-pisdr-hamlib/00-run.sh
builder/stage4/22-pisdr-gpredict/00-run.sh
builder/stage4/23-pisdr-rpitx/00-run.sh
builder/stage4/24-pisdr-virgo/00-run.sh
builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh
builder/stage4/27-pisdr-airband/00-packages-nr
builder/stage4/27-pisdr-airband/00-run.sh
builder/stage4/28-pisdr-osmo-fl2k/00-packages-nr
builder/stage4/28-pisdr-osmo-fl2k/00-run.sh
builder/stage4/29-pisdr-leandvb/00-run.sh
builder/stage4/30-pisdr-vaportrail/00-run.sh
builder/stage4/31-pisdr-urh/00-run.sh
builder/stage4/32-pisdr-dump1090/00-run.sh
builder/stage4/32-pisdr-foxtelem/00-run.sh
builder/stage4/35-pisdr-cleanup/00-run.sh
builder/stage4/35-pisdr-cleanup/01-run.sh
@@ -1,4 +1,4 @@
on: ['pull_request', 'push' ]
on: ['pull_request']
name: Build & Validate Image
@@ -5,11 +5,10 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "uhd" ]; then
git clone https://github.com/EttusResearch/uhd.git
git clone --single-branch --branch UHD-3.15.LTS --depth 1 https://github.com/EttusResearch/uhd.git
fi
cd uhd/host
git checkout UHD-3.15.LTS
mkdir -p build
cd build
cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \
@@ -5,11 +5,10 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "gnuradio" ]; then
git clone --recursive https://github.com/gnuradio/gnuradio.git
git clone --single-branch --branch maint-3.8 --depth 1 --recurse-submodules --shallow-submodules https://github.com/gnuradio/gnuradio.git
fi
cd gnuradio
git checkout maint-3.8
git submodule update --init --recursive
mkdir -p build
cd build
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "SoapySDR" ]; then
git clone https://github.com/pothosware/SoapySDR.git
git clone --depth 1 https://github.com/pothosware/SoapySDR.git
fi
cd SoapySDR
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "SoapyRemote" ]; then
git clone https://github.com/pothosware/SoapyRemote.git
git clone --depth 1 https://github.com/pothosware/SoapyRemote.git
fi
cd SoapyRemote
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "gr-soapy" ]; then
git clone https://gitlab.com/librespacefoundation/gr-soapy.git
git clone --depth 1 https://gitlab.com/librespacefoundation/gr-soapy.git
fi
cd gr-soapy
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "LimeSuite" ]; then
git clone https://github.com/myriadrf/LimeSuite.git
git clone --depth 1 https://github.com/myriadrf/LimeSuite.git
fi
cd LimeSuite
@@ -5,11 +5,10 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "gr-limesdr" ]; then
git clone https://github.com/myriadrf/gr-limesdr.git
git clone --single-branch --branch gr-3.8 --depth 1 https://github.com/myriadrf/gr-limesdr.git
fi
cd gr-limesdr
git checkout gr-3.8
mkdir -p build
cd build
cmake -GNinja -DCMAKE_CXX_FLAGS=-latomic ..
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "airspyone_host" ]; then
git clone https://github.com/airspy/airspyone_host.git
git clone --depth 1 https://github.com/airspy/airspyone_host.git
fi
cd airspyone_host
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "airspyhf" ]; then
git clone https://github.com/airspy/airspyhf.git
git clone --depth 1 https://github.com/airspy/airspyhf.git
fi
cd airspyhf
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "SoapyAirspy" ]; then
git clone https://github.com/pothosware/SoapyAirspy.git
git clone --depth 1 https://github.com/pothosware/SoapyAirspy.git
fi
cd SoapyAirspy
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "SoapyAirspyHF" ]; then
git clone https://github.com/pothosware/SoapyAirspyHF.git
git clone --depth 1 https://github.com/pothosware/SoapyAirspyHF.git
fi
cd SoapyAirspyHF
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "rtl-sdr" ]; then
git clone https://github.com/osmocom/rtl-sdr
git clone --depth 1 https://github.com/osmocom/rtl-sdr
fi
cd rtl-sdr
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "SoapyRTLSDR" ]; then
git clone https://github.com/pothosware/SoapyRTLSDR.git
git clone --depth 1 https://github.com/pothosware/SoapyRTLSDR.git
fi
cd SoapyRTLSDR
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "libiio" ]; then
git clone https://github.com/analogdevicesinc/libiio
git clone --depth 1 https://github.com/analogdevicesinc/libiio
fi
cd libiio
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "libad9361-iio" ]; then
git clone https://github.com/analogdevicesinc/libad9361-iio
git clone --depth 1 https://github.com/analogdevicesinc/libad9361-iio
fi
cd libad9361-iio
@@ -5,11 +5,10 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "gr-iio" ]; then
git clone https://github.com/analogdevicesinc/gr-iio
git clone --single-branch --branch upgrade-3.8 --depth 1 https://github.com/analogdevicesinc/gr-iio
fi
cd gr-iio
git checkout upgrade-3.8
mkdir -p build
cd build
cmake -GNinja -DINSTALL_UDEV_RULE=ON ..
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "SoapyPlutoSDR" ]; then
git clone https://github.com/pothosware/SoapyPlutoSDR.git
git clone --depth 1 https://github.com/pothosware/SoapyPlutoSDR.git
fi
cd SoapyPlutoSDR
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
if [ ! -d "SoapyHackRF" ]; then
git clone https://github.com/pothosware/SoapyHackRF.git
git clone --depth 1 https://github.com/pothosware/SoapyHackRF.git
fi
cd SoapyHackRF
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "gr-osmosdr" ]; then
git clone git://git.osmocom.org/gr-osmosdr
git clone --depth 1 git://git.osmocom.org/gr-osmosdr
fi
cd gr-osmosdr
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "gqrx" ]; then
git clone https://github.com/csete/gqrx.git
git clone --depth 1 https://github.com/csete/gqrx.git
fi
cd gqrx
@@ -5,6 +5,6 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "CygnusRFI" ]; then
git clone https://github.com/0xCoto/CygnusRFI
git clone --depth 1 https://github.com/0xCoto/CygnusRFI
fi
EOF
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "rtl_433" ]; then
git clone https://github.com/merbanan/rtl_433.git
git clone --depth 1 https://github.com/merbanan/rtl_433.git
fi
cd rtl_433
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "sdrangel" ]; then
git clone https://github.com/f4exb/sdrangel.git
git clone --depth 1 https://github.com/f4exb/sdrangel.git
fi
cd sdrangel
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "libacars" ]; then
git clone https://github.com/szpajder/libacars.git
git clone --depth 1 https://github.com/szpajder/libacars.git
fi
cd libacars
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "acarsdec" ]; then
git clone https://github.com/TLeconte/acarsdec.git
git clone --depth 1 https://github.com/TLeconte/acarsdec.git
fi
cd acarsdec
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "multimon-ng" ]; then
git clone https://github.com/EliasOenal/multimon-ng.git
git clone --depth 1 https://github.com/EliasOenal/multimon-ng.git
fi
cd multimon-ng
@@ -0,0 +1,16 @@
#!/bin/bash -e
on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "Hamlib" ]; then
git clone --depth 1 https://github.com/Hamlib/Hamlib.git
fi
cd Hamlib
./bootstrap
./configure --with-python-binding
make -j$(nproc)
ldconfig
EOF
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "gpredict" ]; then
git clone https://github.com/csete/gpredict.git
git clone --depth 1 https://github.com/csete/gpredict.git
fi
cd gpredict
@@ -5,6 +5,6 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "rpitx" ]; then
git clone https://github.com/F5OEO/rpitx.git
git clone --depth 1 https://github.com/F5OEO/rpitx.git
fi
EOF
@@ -5,6 +5,6 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "VIRGO" ]; then
git clone https://github.com/0xCoto/VIRGO
git clone --depth 1 https://github.com/0xCoto/VIRGO
fi
EOF
@@ -0,0 +1,19 @@
#!/bin/bash -e
on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "limesdr_toolbox" ]; then
git clone --depth 1 https://github.com/emvivre/limesdr_toolbox.git
fi
cd limesdr_toolbox
mkdir -p build
cd build
cmake -GNinja ..
ninja install
ldconfig
cd ..
rm -fr build
EOF
@@ -0,0 +1,4 @@
libmp3lame-dev
libshout3-dev
libconfig++-dev
libraspberrypi-dev
@@ -0,0 +1,16 @@
#!/bin/bash -e
on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "RTLSDR-Airband" ]; then
git clone --depth 1 https://github.com/szpajder/RTLSDR-Airband.git
fi
cd RTLSDR-Airband
export PLATFORM=armv7-generic
export WITH_SOAPYSDR=1
make install
ldconfig
EOF
@@ -0,0 +1 @@
libusb-1.0-0-dev
@@ -0,0 +1,19 @@
#!/bin/bash -e
on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "osmo-fl2k" ]; then
git clone --depth 1 git://git.osmocom.org/osmo-fl2k.git
fi
cd osmo-fl2k
mkdir -p build
cd build
cmake -GNinja -DINSTALL_UDEV_RULES=ON ..
ninja install
ldconfig
cd ..
rm -fr build
EOF
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "leansdr" ]; then
git clone https://github.com/pabr/leansdr.git
git clone --depth 1 https://github.com/pabr/leansdr.git
fi
cd leansdr/src/apps
@@ -0,0 +1,16 @@
#!/bin/bash -e
on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "vaportrail" ]; then
mkdir -p vaportrail
fi
cd vaportrail
wget https://github.com/inguardians/VaporTrail/releases/download/0.1.0/vaportrail-rpi2-and-rpi3.tar.gz
tar -xvzf vaportrail-rpi2-and-rpi3.tar.gz
cp vaportrail /usr/bin/
rm *.tar.gz
EOF
@@ -0,0 +1,14 @@
#!/bin/bash -e
on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "urh" ]; then
git clone --depth 1 https://github.com/jopohl/urh.git
fi
cd urh
python3 -m pip install --upgrade cython
python3 setup.py install
EOF
@@ -0,0 +1,14 @@
#!/bin/bash -e
on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "dump1090" ]; then
git clone --depth 1 https://github.com/antirez/dump1090.git
fi
cd dump1090
make -j$(nproc)
cp dump1090 /usr/bin/
EOF
@@ -0,0 +1,12 @@
#!/bin/bash -e
on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
if [ ! -d "FoxTelem" ]; then
wget http://amsat.us/FoxTelem/linux/FoxTelem_1.08z5_linux.tar.gz
tar -xvzf FoxTelem_1.08z5_linux.tar.gz
mv FoxTelem_1.08z5_linux FoxTelem
fi
EOF
@@ -0,0 +1,5 @@
#!/bin/bash -e
on_chroot << EOF
sudo ln -s /usr/local/lib/python3/dist-packages/* /usr/lib/python3/dist-packages || true
EOF