Explorar el Código

Add airband and limesdr toolbox support

pull/39/head
Luigi Cruz hace 4 años
padre
commit
8ddbd146f5
Se han modificado 5 ficheros con 44 adiciones y 0 borrados
  1. +19
    -0
      builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh
  2. +4
    -0
      builder/stage4/27-pisdr-airband/00-packages-nr
  3. +16
    -0
      builder/stage4/27-pisdr-airband/00-run.sh
  4. +5
    -0
      builder/stage4/35-pisdr-cleanup/00-run.sh
  5. +0
    -0
      builder/stage4/35-pisdr-cleanup/01-run.sh

+ 19
- 0
builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh Ver fichero

@@ -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 https://github.com/luigifcruz/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 Ver fichero

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

+ 16
- 0
builder/stage4/27-pisdr-airband/00-run.sh Ver fichero

@@ -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 https://github.com/szpajder/RTLSDR-Airband.git
fi

cd RTLSDR-Airband
export PLATFORM=armv7-generic
export WITH_SOAPYSDR=1
make install
ldconfig
EOF

+ 5
- 0
builder/stage4/35-pisdr-cleanup/00-run.sh Ver fichero

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


Cargando…
Cancelar
Guardar