Kaynağa Gözat

Fixing bash scripts.

tags/v4.0.0-beta.1
Luigi Cruz 4 yıl önce
ebeveyn
işleme
2b70ef4575
29 değiştirilmiş dosya ile 206 ekleme ve 79 silme
  1. +2
    -2
      builder/stage1/00-boot-files/files/config.txt
  2. +0
    -0
      builder/stage4/03-enable-xcompmgr/00-run.sh
  3. +0
    -1
      builder/stage4/04-pisdr-system/00-run.sh
  4. +25
    -0
      builder/stage4/05-pisdr-gnuradio/00-packages
  5. +20
    -0
      builder/stage4/05-pisdr-gnuradio/00-run.sh
  6. +0
    -1
      builder/stage4/05-pisdr-system/00-packages
  7. +3
    -4
      builder/stage4/06-pisdr-soapysdr/01-run.sh
  8. +3
    -4
      builder/stage4/06-pisdr-soapysdr/02-run.sh
  9. +19
    -0
      builder/stage4/06-pisdr-soapysdr/03-run.sh
  10. +6
    -7
      builder/stage4/07-pisdr-limesdr/00-run.sh
  11. +3
    -4
      builder/stage4/07-pisdr-limesdr/01-run.sh
  12. +3
    -4
      builder/stage4/08-pisdr-airspy/00-run.sh
  13. +3
    -4
      builder/stage4/08-pisdr-airspy/01-run.sh
  14. +3
    -4
      builder/stage4/08-pisdr-airspy/02-run.sh
  15. +3
    -4
      builder/stage4/09-pisdr-rtlsdr/00-run.sh
  16. +3
    -4
      builder/stage4/09-pisdr-rtlsdr/01-run.sh
  17. +3
    -4
      builder/stage4/10-pisdr-plutosdr/00-run.sh
  18. +3
    -4
      builder/stage4/10-pisdr-plutosdr/01-run.sh
  19. +3
    -4
      builder/stage4/10-pisdr-plutosdr/02-run.sh
  20. +3
    -4
      builder/stage4/10-pisdr-plutosdr/03-run.sh
  21. +3
    -4
      builder/stage4/11-pisdr-sdrangel/00-run.sh
  22. +3
    -4
      builder/stage4/11-pisdr-sdrangel/01-run.sh
  23. +3
    -4
      builder/stage4/11-pisdr-sdrangel/02-run.sh
  24. +3
    -4
      builder/stage4/11-pisdr-sdrangel/03-run.sh
  25. +3
    -4
      builder/stage4/11-pisdr-sdrangel/04-run.sh
  26. +19
    -0
      builder/stage4/11-pisdr-sdrangel/05-run.sh
  27. +25
    -0
      builder/stage4/12-pisdr-gqrx/00-packages
  28. +19
    -0
      builder/stage4/12-pisdr-gqrx/00-run.sh
  29. +20
    -0
      builder/stage4/13-pisdr-osmocom/00-run.sh

+ 2
- 2
builder/stage1/00-boot-files/files/config.txt Dosyayı Görüntüle

@@ -18,8 +18,8 @@

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
#framebuffer_width=1920
#framebuffer_height=1080

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1


builder/stage4/04-enable-xcompmgr/00-run.sh → builder/stage4/03-enable-xcompmgr/00-run.sh Dosyayı Görüntüle


builder/stage4/05-pisdr-system/00-run.sh → builder/stage4/04-pisdr-system/00-run.sh Dosyayı Görüntüle

@@ -1,6 +1,5 @@
#!/bin/bash -e

on_chroot << EOF
## Turn on VNC
systemctl enable vncserver-x11-serviced.service
EOF

+ 25
- 0
builder/stage4/05-pisdr-gnuradio/00-packages Dosyayı Görüntüle

@@ -0,0 +1,25 @@
cmake
git
g++
libboost-all-dev
python-dev
python-mako
python-numpy
python-wxgtk3.0
python-sphinx
python-cheetah
swig
libzmq3-dev
libfftw3-dev
libgsl-dev
libcppunit-dev
libcomedi-dev
libqt4-opengl-dev
python-qt4
libqwt-dev
libsdl1.2-dev
libusb-1.0-0-dev
python-gtk2
python-lxml
pkg-config
python-sip-dev

+ 20
- 0
builder/stage4/05-pisdr-gnuradio/00-run.sh Dosyayı Görüntüle

@@ -0,0 +1,20 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/LimeSDR"
cd "/home/${FIRST_USER_NAME}/LimeSDR"

if [ ! -d "gnuradio" ]; then
git clone --recursive https://github.com/gnuradio/gnuradio.git
fi

cd gnuradio
git pull
git checkout maint-3.7
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/local/bin/python3 ../
make -j$(nproc) install
ldconfig
EOF

+ 0
- 1
builder/stage4/05-pisdr-system/00-packages Dosyayı Görüntüle

@@ -1 +0,0 @@
gnuradio

+ 3
- 4
builder/stage4/06-pisdr-soapysdr/01-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Packages"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Packages"
mkdir -p "/home/${FIRST_USER_NAME}/Packages"
cd "/home/${FIRST_USER_NAME}/Packages"

if [ ! -d "SoapySDR" ]; then
git clone https://github.com/pothosware/SoapySDR.git
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/06-pisdr-soapysdr/02-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Packages"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Packages"
mkdir -p "/home/${FIRST_USER_NAME}/Packages"
cd "/home/${FIRST_USER_NAME}/Packages"

if [ ! -d "SoapyRemote" ]; then
git clone https://github.com/pothosware/SoapyRemote.git
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 19
- 0
builder/stage4/06-pisdr-soapysdr/03-run.sh Dosyayı Görüntüle

@@ -0,0 +1,19 @@
#!/bin/bash

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Packages"
cd "/home/${FIRST_USER_NAME}/Packages"

if [ ! -d "gr-soapy" ]; then
git clone https://gitlab.com/librespacefoundation/gr-soapy.git
fi

cd gr-soapy
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig
EOF

+ 6
- 7
builder/stage4/07-pisdr-limesdr/00-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/LimeSDR"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/LimeSDR"
mkdir -p "/home/${FIRST_USER_NAME}/LimeSDR"
cd "/home/${FIRST_USER_NAME}/LimeSDR"

if [ ! -d "LimeSuite" ]; then
git clone https://github.com/myriadrf/LimeSuite.git
@@ -13,11 +13,10 @@ git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DENABLE_SPI=ON -DCMAKE_CXX_LINK_FLAGS="$(DCMAKE_CXX_LINK_FLAGS) -latomic" ../
make -j$(nproc)
make install
cmake -DCMAKE_CXX_LINK_FLAGS="$(DCMAKE_CXX_LINK_FLAGS) -latomic" ../
make -j$(nproc) install
ldconfig

cd ..
./udev-rules/install.sh
cd ../udev-rules
./install.sh
EOF

+ 3
- 4
builder/stage4/07-pisdr-limesdr/01-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/LimeSDR"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/LimeSDR"
mkdir -p "/home/${FIRST_USER_NAME}/LimeSDR"
cd "/home/${FIRST_USER_NAME}/LimeSDR"

if [ ! -d "gr-limesdr" ]; then
git clone https://github.com/myriadrf/gr-limesdr.git
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/08-pisdr-airspy/00-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Airspy"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Airspy"
mkdir -p "/home/${FIRST_USER_NAME}/Airspy"
cd "/home/${FIRST_USER_NAME}/Airspy"

if [ ! -d "airspyone_host" ]; then
git clone https://github.com/airspy/airspyone_host.git
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULES=ON
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/08-pisdr-airspy/01-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Airspy"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Airspy"
mkdir -p "/home/${FIRST_USER_NAME}/Airspy"
cd "/home/${FIRST_USER_NAME}/Airspy"

if [ ! -d "airspyhf" ]; then
git clone https://github.com/airspy/airspyhf.git
@@ -14,8 +14,7 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULES=ON
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF



+ 3
- 4
builder/stage4/08-pisdr-airspy/02-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Airspy"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Airspy"
mkdir -p "/home/${FIRST_USER_NAME}/Airspy"
cd "/home/${FIRST_USER_NAME}/Airspy"

if [ ! -d "SoapyAirspy" ]; then
git clone https://github.com/pothosware/SoapyAirspy.git
@@ -14,8 +14,7 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF



+ 3
- 4
builder/stage4/09-pisdr-rtlsdr/00-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/RTLSDR"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/RTLSDR"
mkdir -p "/home/${FIRST_USER_NAME}/RTLSDR"
cd "/home/${FIRST_USER_NAME}/RTLSDR"

if [ ! -d "rtl-sdr" ]; then
git clone https://github.com/osmocom/rtl-sdr
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/09-pisdr-rtlsdr/01-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/RTLSDR"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/RTLSDR"
mkdir -p "/home/${FIRST_USER_NAME}/RTLSDR"
cd "/home/${FIRST_USER_NAME}/RTLSDR"

if [ ! -d "SoapyRTLSDR" ]; then
git clone https://github.com/pothosware/SoapyRTLSDR.git
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/10-pisdr-plutosdr/00-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PlutoSDR"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PlutoSDR"
mkdir -p "/home/${FIRST_USER_NAME}/PlutoSDR"
cd "/home/${FIRST_USER_NAME}/PlutoSDR"

if [ ! -d "libiio" ]; then
git clone https://github.com/analogdevicesinc/libiio
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULE=ON
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/10-pisdr-plutosdr/01-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PlutoSDR"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PlutoSDR"
mkdir -p "/home/${FIRST_USER_NAME}/PlutoSDR"
cd "/home/${FIRST_USER_NAME}/PlutoSDR"

if [ ! -d "libad9361-iio" ]; then
git clone https://github.com/analogdevicesinc/libad9361-iio
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULE=ON
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/10-pisdr-plutosdr/02-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PlutoSDR"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PlutoSDR"
mkdir -p "/home/${FIRST_USER_NAME}/PlutoSDR"
cd "/home/${FIRST_USER_NAME}/PlutoSDR"

if [ ! -d "gr-iio" ]; then
git clone https://github.com/analogdevicesinc/gr-iio
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../ -DINSTALL_UDEV_RULE=ON
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/10-pisdr-plutosdr/03-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PlutoSDR"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PlutoSDR"
mkdir -p "/home/${FIRST_USER_NAME}/PlutoSDR"
cd "/home/${FIRST_USER_NAME}/PlutoSDR"

if [ ! -d "SoapyPlutoSDR" ]; then
git clone https://github.com/pothosware/SoapyPlutoSDR.git
@@ -14,7 +14,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/11-pisdr-sdrangel/00-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"

if [ ! -d "cm256cc" ]; then
git clone https://github.com/f4exb/cm256cc.git
@@ -15,7 +15,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/11-pisdr-sdrangel/01-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"

if [ ! -d "mbelib" ]; then
git clone https://github.com/szechyjs/mbelib.git
@@ -15,7 +15,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/11-pisdr-sdrangel/02-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"

if [ ! -d "serialDV" ]; then
git clone https://github.com/f4exb/serialDV.git
@@ -15,7 +15,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/11-pisdr-sdrangel/03-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"

if [ ! -d "dsdcc" ]; then
git clone https://github.com/f4exb/dsdcc.git
@@ -15,7 +15,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake -DUSE_MBELIB=ON ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 3
- 4
builder/stage4/11-pisdr-sdrangel/04-run.sh Dosyayı Görüntüle

@@ -1,8 +1,8 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
cd "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Software"
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"

if [ ! -d "codec2" ]; then
git clone https://github.com/drowe67/codec2.git
@@ -15,7 +15,6 @@ mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc)
make install
make -j$(nproc) install
ldconfig
EOF

+ 19
- 0
builder/stage4/11-pisdr-sdrangel/05-run.sh Dosyayı Görüntüle

@@ -0,0 +1,19 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"

if [ ! -d "sdrangel" ]; then
git clone https://github.com/f4exb/sdrangel.git
fi

cd sdrangel
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig
EOF

+ 25
- 0
builder/stage4/12-pisdr-gqrx/00-packages Dosyayı Görüntüle

@@ -0,0 +1,25 @@
git
cmake
g++
pkg-config
autoconf
automake
libtool
libfftw3-dev
libusb-1.0-0-dev
libusb-dev
qt5-default
qtbase5-dev
qtchooser
libqt5multimedia5-plugins
qtmultimedia5-dev
libqt5websockets5-dev
qttools5-dev
qttools5-dev-tools
libqt5opengl5-dev
qtbase5-dev
libboost-all-dev
libasound2-dev
pulseaudio
libopencv-dev
libxml2-dev

+ 19
- 0
builder/stage4/12-pisdr-gqrx/00-run.sh Dosyayı Görüntüle

@@ -0,0 +1,19 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"

if [ ! -d "gqrx" ]; then
git clone https://github.com/csete/gqrx.git
fi

cd gqrx
git pull
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig
EOF

+ 20
- 0
builder/stage4/13-pisdr-osmocom/00-run.sh Dosyayı Görüntüle

@@ -0,0 +1,20 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"

if [ ! -d "gr-osmosdr" ]; then
git clone git://git.osmocom.org/gr-osmosdr
fi

cd gr-osmosdr
git pull
git checkout gr3.7
mkdir -p build
cd build
rm -rf CMakeCache.txt
cmake ../
make -j$(nproc) install
ldconfig
EOF

Yükleniyor…
İptal
Kaydet