Browse Source

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 3 years ago
committed by GitHub
parent
commit
bb8a7af46c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
43 changed files with 167 additions and 35 deletions
  1. +1
    -1
      .github/workflows/validate.yml
  2. +1
    -2
      builder/stage4/05-pisdr-uhd/00-run.sh
  3. +1
    -2
      builder/stage4/06-pisdr-gnuradio/00-run.sh
  4. +1
    -1
      builder/stage4/07-pisdr-soapysdr/01-run.sh
  5. +1
    -1
      builder/stage4/07-pisdr-soapysdr/02-run.sh
  6. +1
    -1
      builder/stage4/07-pisdr-soapysdr/03-run.sh
  7. +1
    -1
      builder/stage4/08-pisdr-limesdr/00-run.sh
  8. +1
    -2
      builder/stage4/08-pisdr-limesdr/01-run.sh
  9. +1
    -1
      builder/stage4/09-pisdr-airspy/00-run.sh
  10. +1
    -1
      builder/stage4/09-pisdr-airspy/01-run.sh
  11. +1
    -1
      builder/stage4/09-pisdr-airspy/02-run.sh
  12. +1
    -1
      builder/stage4/09-pisdr-airspy/03-run.sh
  13. +1
    -1
      builder/stage4/10-pisdr-rtlsdr/00-run.sh
  14. +1
    -1
      builder/stage4/10-pisdr-rtlsdr/01-run.sh
  15. +1
    -1
      builder/stage4/11-pisdr-plutosdr/00-run.sh
  16. +1
    -1
      builder/stage4/11-pisdr-plutosdr/01-run.sh
  17. +1
    -2
      builder/stage4/11-pisdr-plutosdr/02-run.sh
  18. +1
    -1
      builder/stage4/11-pisdr-plutosdr/03-run.sh
  19. +1
    -1
      builder/stage4/12-pisdr-hackrf/01-run.sh
  20. +1
    -1
      builder/stage4/13-pisdr-osmocom/00-run.sh
  21. +1
    -1
      builder/stage4/14-pisdr-gqrx/00-run.sh
  22. +1
    -1
      builder/stage4/15-pisdr-cygnusrf/00-run.sh
  23. +1
    -1
      builder/stage4/16-pisdr-rtl443/00-run.sh
  24. +1
    -1
      builder/stage4/17-pisdr-sdrangel/05-run.sh
  25. +1
    -1
      builder/stage4/18-pisdr-libacars/00-run.sh
  26. +1
    -1
      builder/stage4/19-pisdr-acarsdec/00-run.sh
  27. +1
    -1
      builder/stage4/20-pisdr-multimonng/00-run.sh
  28. +16
    -0
      builder/stage4/21-pisdr-hamlib/00-run.sh
  29. +1
    -1
      builder/stage4/22-pisdr-gpredict/00-run.sh
  30. +1
    -1
      builder/stage4/23-pisdr-rpitx/00-run.sh
  31. +1
    -1
      builder/stage4/24-pisdr-virgo/00-run.sh
  32. +19
    -0
      builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh
  33. +4
    -0
      builder/stage4/27-pisdr-airband/00-packages-nr
  34. +16
    -0
      builder/stage4/27-pisdr-airband/00-run.sh
  35. +1
    -0
      builder/stage4/28-pisdr-osmo-fl2k/00-packages-nr
  36. +19
    -0
      builder/stage4/28-pisdr-osmo-fl2k/00-run.sh
  37. +1
    -1
      builder/stage4/29-pisdr-leandvb/00-run.sh
  38. +16
    -0
      builder/stage4/30-pisdr-vaportrail/00-run.sh
  39. +14
    -0
      builder/stage4/31-pisdr-urh/00-run.sh
  40. +14
    -0
      builder/stage4/32-pisdr-dump1090/00-run.sh
  41. +12
    -0
      builder/stage4/32-pisdr-foxtelem/00-run.sh
  42. +5
    -0
      builder/stage4/35-pisdr-cleanup/00-run.sh
  43. +0
    -0
      builder/stage4/35-pisdr-cleanup/01-run.sh

+ 1
- 1
.github/workflows/validate.yml View File

@@ -1,4 +1,4 @@
on: ['pull_request', 'push']
on: ['pull_request']

name: Build & Validate Image



+ 1
- 2
builder/stage4/05-pisdr-uhd/00-run.sh View File

@@ -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" \


+ 1
- 2
builder/stage4/06-pisdr-gnuradio/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/07-pisdr-soapysdr/01-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/07-pisdr-soapysdr/02-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/07-pisdr-soapysdr/03-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/08-pisdr-limesdr/00-run.sh View File

@@ -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


+ 1
- 2
builder/stage4/08-pisdr-limesdr/01-run.sh View File

@@ -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 ..


+ 1
- 1
builder/stage4/09-pisdr-airspy/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/09-pisdr-airspy/01-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/09-pisdr-airspy/02-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/09-pisdr-airspy/03-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/10-pisdr-rtlsdr/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/10-pisdr-rtlsdr/01-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/11-pisdr-plutosdr/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/11-pisdr-plutosdr/01-run.sh View File

@@ -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


+ 1
- 2
builder/stage4/11-pisdr-plutosdr/02-run.sh View File

@@ -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 ..


+ 1
- 1
builder/stage4/11-pisdr-plutosdr/03-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/12-pisdr-hackrf/01-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/13-pisdr-osmocom/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/14-pisdr-gqrx/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/15-pisdr-cygnusrf/00-run.sh View File

@@ -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

+ 1
- 1
builder/stage4/16-pisdr-rtl443/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/17-pisdr-sdrangel/05-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/18-pisdr-libacars/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/19-pisdr-acarsdec/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/20-pisdr-multimonng/00-run.sh View File

@@ -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


+ 16
- 0
builder/stage4/21-pisdr-hamlib/00-run.sh View File

@@ -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

+ 1
- 1
builder/stage4/22-pisdr-gpredict/00-run.sh View File

@@ -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


+ 1
- 1
builder/stage4/23-pisdr-rpitx/00-run.sh View File

@@ -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

+ 1
- 1
builder/stage4/24-pisdr-virgo/00-run.sh View File

@@ -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

+ 19
- 0
builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh View File

@@ -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

+ 4
- 0
builder/stage4/27-pisdr-airband/00-packages-nr View File

@@ -0,0 +1,4 @@
libmp3lame-dev
libshout3-dev
libconfig++-dev
libraspberrypi-dev

+ 16
- 0
builder/stage4/27-pisdr-airband/00-run.sh View File

@@ -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

+ 1
- 0
builder/stage4/28-pisdr-osmo-fl2k/00-packages-nr View File

@@ -0,0 +1 @@
libusb-1.0-0-dev

+ 19
- 0
builder/stage4/28-pisdr-osmo-fl2k/00-run.sh View File

@@ -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

builder/stage4/21-pisdr-leandvb/00-run.sh → builder/stage4/29-pisdr-leandvb/00-run.sh View File

@@ -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

+ 16
- 0
builder/stage4/30-pisdr-vaportrail/00-run.sh View File

@@ -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

+ 14
- 0
builder/stage4/31-pisdr-urh/00-run.sh View File

@@ -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

+ 14
- 0
builder/stage4/32-pisdr-dump1090/00-run.sh View File

@@ -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

+ 12
- 0
builder/stage4/32-pisdr-foxtelem/00-run.sh View File

@@ -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

+ 5
- 0
builder/stage4/35-pisdr-cleanup/00-run.sh View File

@@ -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

builder/stage4/26-pisdr-udev/00-run.sh → builder/stage4/35-pisdr-cleanup/01-run.sh View File


Loading…
Cancel
Save