* 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 supporttags/5.1.0
@@ -1,4 +1,4 @@ | |||||
on: ['pull_request', 'push'] | |||||
on: ['pull_request'] | |||||
name: Build & Validate Image | name: Build & Validate Image | ||||
@@ -5,11 +5,10 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "uhd" ]; then | 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 | fi | ||||
cd uhd/host | cd uhd/host | ||||
git checkout UHD-3.15.LTS | |||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \ | 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" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "gnuradio" ]; then | 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 | fi | ||||
cd gnuradio | cd gnuradio | ||||
git checkout maint-3.8 | |||||
git submodule update --init --recursive | git submodule update --init --recursive | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "SoapySDR" ]; then | if [ ! -d "SoapySDR" ]; then | ||||
git clone https://github.com/pothosware/SoapySDR.git | |||||
git clone --depth 1 https://github.com/pothosware/SoapySDR.git | |||||
fi | fi | ||||
cd SoapySDR | cd SoapySDR | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "SoapyRemote" ]; then | if [ ! -d "SoapyRemote" ]; then | ||||
git clone https://github.com/pothosware/SoapyRemote.git | |||||
git clone --depth 1 https://github.com/pothosware/SoapyRemote.git | |||||
fi | fi | ||||
cd SoapyRemote | cd SoapyRemote | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "gr-soapy" ]; then | 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 | fi | ||||
cd gr-soapy | cd gr-soapy | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "LimeSuite" ]; then | if [ ! -d "LimeSuite" ]; then | ||||
git clone https://github.com/myriadrf/LimeSuite.git | |||||
git clone --depth 1 https://github.com/myriadrf/LimeSuite.git | |||||
fi | fi | ||||
cd LimeSuite | cd LimeSuite | ||||
@@ -5,11 +5,10 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "gr-limesdr" ]; then | 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 | fi | ||||
cd gr-limesdr | cd gr-limesdr | ||||
git checkout gr-3.8 | |||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
cmake -GNinja -DCMAKE_CXX_FLAGS=-latomic .. | 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" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "airspyone_host" ]; then | 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 | fi | ||||
cd airspyone_host | cd airspyone_host | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "airspyhf" ]; then | if [ ! -d "airspyhf" ]; then | ||||
git clone https://github.com/airspy/airspyhf.git | |||||
git clone --depth 1 https://github.com/airspy/airspyhf.git | |||||
fi | fi | ||||
cd airspyhf | cd airspyhf | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "SoapyAirspy" ]; then | if [ ! -d "SoapyAirspy" ]; then | ||||
git clone https://github.com/pothosware/SoapyAirspy.git | |||||
git clone --depth 1 https://github.com/pothosware/SoapyAirspy.git | |||||
fi | fi | ||||
cd SoapyAirspy | cd SoapyAirspy | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "SoapyAirspyHF" ]; then | if [ ! -d "SoapyAirspyHF" ]; then | ||||
git clone https://github.com/pothosware/SoapyAirspyHF.git | |||||
git clone --depth 1 https://github.com/pothosware/SoapyAirspyHF.git | |||||
fi | fi | ||||
cd SoapyAirspyHF | cd SoapyAirspyHF | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "rtl-sdr" ]; then | if [ ! -d "rtl-sdr" ]; then | ||||
git clone https://github.com/osmocom/rtl-sdr | |||||
git clone --depth 1 https://github.com/osmocom/rtl-sdr | |||||
fi | fi | ||||
cd rtl-sdr | cd rtl-sdr | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "SoapyRTLSDR" ]; then | if [ ! -d "SoapyRTLSDR" ]; then | ||||
git clone https://github.com/pothosware/SoapyRTLSDR.git | |||||
git clone --depth 1 https://github.com/pothosware/SoapyRTLSDR.git | |||||
fi | fi | ||||
cd SoapyRTLSDR | cd SoapyRTLSDR | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "libiio" ]; then | if [ ! -d "libiio" ]; then | ||||
git clone https://github.com/analogdevicesinc/libiio | |||||
git clone --depth 1 https://github.com/analogdevicesinc/libiio | |||||
fi | fi | ||||
cd libiio | cd libiio | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "libad9361-iio" ]; then | if [ ! -d "libad9361-iio" ]; then | ||||
git clone https://github.com/analogdevicesinc/libad9361-iio | |||||
git clone --depth 1 https://github.com/analogdevicesinc/libad9361-iio | |||||
fi | fi | ||||
cd libad9361-iio | cd libad9361-iio | ||||
@@ -5,11 +5,10 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "gr-iio" ]; then | 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 | fi | ||||
cd gr-iio | cd gr-iio | ||||
git checkout upgrade-3.8 | |||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
cmake -GNinja -DINSTALL_UDEV_RULE=ON .. | 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" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "SoapyPlutoSDR" ]; then | if [ ! -d "SoapyPlutoSDR" ]; then | ||||
git clone https://github.com/pothosware/SoapyPlutoSDR.git | |||||
git clone --depth 1 https://github.com/pothosware/SoapyPlutoSDR.git | |||||
fi | fi | ||||
cd SoapyPlutoSDR | cd SoapyPlutoSDR | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | cd "/home/${FIRST_USER_NAME}/PiSDR/Radios" | ||||
if [ ! -d "SoapyHackRF" ]; then | if [ ! -d "SoapyHackRF" ]; then | ||||
git clone https://github.com/pothosware/SoapyHackRF.git | |||||
git clone --depth 1 https://github.com/pothosware/SoapyHackRF.git | |||||
fi | fi | ||||
cd SoapyHackRF | cd SoapyHackRF | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "gr-osmosdr" ]; then | if [ ! -d "gr-osmosdr" ]; then | ||||
git clone git://git.osmocom.org/gr-osmosdr | |||||
git clone --depth 1 git://git.osmocom.org/gr-osmosdr | |||||
fi | fi | ||||
cd gr-osmosdr | cd gr-osmosdr | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "gqrx" ]; then | if [ ! -d "gqrx" ]; then | ||||
git clone https://github.com/csete/gqrx.git | |||||
git clone --depth 1 https://github.com/csete/gqrx.git | |||||
fi | fi | ||||
cd gqrx | cd gqrx | ||||
@@ -5,6 +5,6 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "CygnusRFI" ]; then | if [ ! -d "CygnusRFI" ]; then | ||||
git clone https://github.com/0xCoto/CygnusRFI | |||||
git clone --depth 1 https://github.com/0xCoto/CygnusRFI | |||||
fi | fi | ||||
EOF | EOF |
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "rtl_433" ]; then | 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 | fi | ||||
cd rtl_433 | cd rtl_433 | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "sdrangel" ]; then | if [ ! -d "sdrangel" ]; then | ||||
git clone https://github.com/f4exb/sdrangel.git | |||||
git clone --depth 1 https://github.com/f4exb/sdrangel.git | |||||
fi | fi | ||||
cd sdrangel | cd sdrangel | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "libacars" ]; then | if [ ! -d "libacars" ]; then | ||||
git clone https://github.com/szpajder/libacars.git | |||||
git clone --depth 1 https://github.com/szpajder/libacars.git | |||||
fi | fi | ||||
cd libacars | cd libacars | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "acarsdec" ]; then | if [ ! -d "acarsdec" ]; then | ||||
git clone https://github.com/TLeconte/acarsdec.git | |||||
git clone --depth 1 https://github.com/TLeconte/acarsdec.git | |||||
fi | fi | ||||
cd acarsdec | cd acarsdec | ||||
@@ -5,7 +5,7 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "multimon-ng" ]; then | 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 | fi | ||||
cd multimon-ng | 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" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "gpredict" ]; then | if [ ! -d "gpredict" ]; then | ||||
git clone https://github.com/csete/gpredict.git | |||||
git clone --depth 1 https://github.com/csete/gpredict.git | |||||
fi | fi | ||||
cd gpredict | cd gpredict | ||||
@@ -5,6 +5,6 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "rpitx" ]; then | if [ ! -d "rpitx" ]; then | ||||
git clone https://github.com/F5OEO/rpitx.git | |||||
git clone --depth 1 https://github.com/F5OEO/rpitx.git | |||||
fi | fi | ||||
EOF | EOF |
@@ -5,6 +5,6 @@ mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software" | |||||
cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "VIRGO" ]; then | if [ ! -d "VIRGO" ]; then | ||||
git clone https://github.com/0xCoto/VIRGO | |||||
git clone --depth 1 https://github.com/0xCoto/VIRGO | |||||
fi | fi | ||||
EOF | 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" | cd "/home/${FIRST_USER_NAME}/PiSDR/Software" | ||||
if [ ! -d "leansdr" ]; then | if [ ! -d "leansdr" ]; then | ||||
git clone https://github.com/pabr/leansdr.git | |||||
git clone --depth 1 https://github.com/pabr/leansdr.git | |||||
fi | fi | ||||
cd leansdr/src/apps | 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 |