Kaynağa Gözat

Multiple fixes.

tags/v4.0.0-beta.1
Luigi Freitas Cruz 4 yıl önce
ebeveyn
işleme
790a4e7fb9
30 değiştirilmiş dosya ile 108 ekleme ve 66 silme
  1. +9
    -7
      .github/workflows/release.yml
  2. +9
    -5
      .github/workflows/validate.yml
  3. +2
    -0
      builder/stage4/04-pisdr-system/00-packages
  4. +11
    -8
      builder/stage4/04-pisdr-system/01-run.sh
  5. +7
    -0
      builder/stage4/04-pisdr-system/02-run.sh
  6. +4
    -0
      builder/stage4/04-pisdr-system/wallpaper/desktop-items-0.conf
  7. +2
    -2
      builder/stage4/05-pisdr-gnuradio/00-run.sh
  8. +2
    -2
      builder/stage4/06-pisdr-soapysdr/01-run.sh
  9. +2
    -2
      builder/stage4/06-pisdr-soapysdr/02-run.sh
  10. +2
    -2
      builder/stage4/06-pisdr-soapysdr/03-run.sh
  11. +2
    -2
      builder/stage4/07-pisdr-limesdr/00-run.sh
  12. +2
    -2
      builder/stage4/07-pisdr-limesdr/01-run.sh
  13. +2
    -2
      builder/stage4/08-pisdr-airspy/00-run.sh
  14. +2
    -2
      builder/stage4/08-pisdr-airspy/01-run.sh
  15. +2
    -2
      builder/stage4/08-pisdr-airspy/02-run.sh
  16. +20
    -0
      builder/stage4/08-pisdr-airspy/03-run.sh
  17. +2
    -2
      builder/stage4/09-pisdr-rtlsdr/00-run.sh
  18. +2
    -2
      builder/stage4/09-pisdr-rtlsdr/01-run.sh
  19. +2
    -2
      builder/stage4/10-pisdr-plutosdr/00-run.sh
  20. +2
    -2
      builder/stage4/10-pisdr-plutosdr/01-run.sh
  21. +2
    -2
      builder/stage4/10-pisdr-plutosdr/02-run.sh
  22. +2
    -2
      builder/stage4/10-pisdr-plutosdr/03-run.sh
  23. +2
    -2
      builder/stage4/11-pisdr-osmocom/00-run.sh
  24. +2
    -2
      builder/stage4/12-pisdr-sdrangel/00-run.sh
  25. +2
    -2
      builder/stage4/12-pisdr-sdrangel/01-run.sh
  26. +2
    -2
      builder/stage4/12-pisdr-sdrangel/02-run.sh
  27. +2
    -2
      builder/stage4/12-pisdr-sdrangel/03-run.sh
  28. +2
    -2
      builder/stage4/12-pisdr-sdrangel/04-run.sh
  29. +2
    -2
      builder/stage4/12-pisdr-sdrangel/05-run.sh
  30. +2
    -2
      builder/stage4/13-pisdr-gqrx/00-run.sh

+ 9
- 7
.github/workflows/release.yml Dosyayı Görüntüle

@@ -15,19 +15,21 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Clean docker
id: clean_docker
working-directory: ${{ env.working-directory }}
run: |
docker system prune -af
docker system prune --volumes -f
docker container stop $(docker container ls -aq)
docker container rm $(docker container ls -aq)
docker image prune -af
- name: Build project
id: builder
working-directory: ${{ env.working-directory }}
env:
CONTINUE: 1
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |
chmod a+rw ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
echo ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
- name: Create Release
id: create_release
uses: actions/create-release@v1


+ 9
- 5
.github/workflows/validate.yml Dosyayı Görüntüle

@@ -12,17 +12,21 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Clean docker
id: clean_docker
working-directory: ${{ env.working-directory }}
run: |
docker system prune -af
docker system prune --volumes -f
docker container stop $(docker container ls -aq)
docker container rm $(docker container ls -aq)
docker image prune -af
- name: Build project
id: builder
working-directory: ${{ env.working-directory }}
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |
chmod a+rw ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
echo ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }}
- uses: actions/upload-artifact@v1
with:
name: ${{ steps.builder.outputs.filename }}


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

@@ -0,0 +1,2 @@
vim
tmux

+ 11
- 8
builder/stage4/04-pisdr-system/01-run.sh Dosyayı Görüntüle

@@ -1,10 +1,13 @@
install -m 755 shortcut/gnuradio.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop"
install -m 755 shortcut/gqrx.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop"
install -m 755 shortcut/sdrangel.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop"
install -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop"
install -D -m 755 shortcut/gnuradio.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop"
install -D -m 755 shortcut/gqrx.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop"
install -D -m 755 shortcut/sdrangel.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop"

install -m 755 wallpaper/donald-giannatti-vla.jpg "${ROOTFS_DIR}/usr/share/rpd-wallpaper/"
install -D -m 755 wallpaper/donald-giannatti-vla.jpg "${ROOTFS_DIR}/usr/share/rpd-wallpaper/"

on_chroot << EOF
rm -fr /usr/share/rpd-wallpaper/road.jpg
mv /usr/share/rpd-wallpaper/donald-giannatti-vla.jpg /usr/share/rpd-wallpaper/road.jpg
EOF
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/"
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/menus/"
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/pcmanfm/"
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/pcmanfm/LXDE-pi/"

install -v -o 1000 -g 1000 -m 644 wallpaper/desktop-items-0.conf "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/pcmanfm/LXDE-pi/"

+ 7
- 0
builder/stage4/04-pisdr-system/02-run.sh Dosyayı Görüntüle

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

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

+ 4
- 0
builder/stage4/04-pisdr-system/wallpaper/desktop-items-0.conf Dosyayı Görüntüle

@@ -0,0 +1,4 @@
[*]
wallpaper_mode=crop
wallpaper_common=1
wallpaper=/usr/share/rpd-wallpaper/donald-giannatti-vla.jpg

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

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

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/GNURadio"
cd "/home/${FIRST_USER_NAME}/GNURadio"
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


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

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

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Packages"
cd "/home/${FIRST_USER_NAME}/Packages"
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


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

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

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Packages"
cd "/home/${FIRST_USER_NAME}/Packages"
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


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

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

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Packages"
cd "/home/${FIRST_USER_NAME}/Packages"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/LimeSDR"
cd "/home/${FIRST_USER_NAME}/LimeSDR"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/LimeSDR"
cd "/home/${FIRST_USER_NAME}/LimeSDR"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/Airspy"
cd "/home/${FIRST_USER_NAME}/Airspy"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/Airspy"
cd "/home/${FIRST_USER_NAME}/Airspy"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/Airspy"
cd "/home/${FIRST_USER_NAME}/Airspy"
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


+ 20
- 0
builder/stage4/08-pisdr-airspy/03-run.sh Dosyayı Görüntüle

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

on_chroot << EOF
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
fi

cd SoapyAirspyHF
git pull
mkdir -p build
cd build
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc) install
ldconfig
EOF



+ 2
- 2
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 "/home/${FIRST_USER_NAME}/RTLSDR"
cd "/home/${FIRST_USER_NAME}/RTLSDR"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/RTLSDR"
cd "/home/${FIRST_USER_NAME}/RTLSDR"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/PlutoSDR"
cd "/home/${FIRST_USER_NAME}/PlutoSDR"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/PlutoSDR"
cd "/home/${FIRST_USER_NAME}/PlutoSDR"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/PlutoSDR"
cd "/home/${FIRST_USER_NAME}/PlutoSDR"
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


+ 2
- 2
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 "/home/${FIRST_USER_NAME}/PlutoSDR"
cd "/home/${FIRST_USER_NAME}/PlutoSDR"
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


+ 2
- 2
builder/stage4/11-pisdr-osmocom/00-run.sh Dosyayı Görüntüle

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

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"
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


+ 2
- 2
builder/stage4/12-pisdr-sdrangel/00-run.sh Dosyayı Görüntüle

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

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

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


+ 2
- 2
builder/stage4/12-pisdr-sdrangel/01-run.sh Dosyayı Görüntüle

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

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

if [ ! -d "mbelib" ]; then
git clone https://github.com/szechyjs/mbelib.git


+ 2
- 2
builder/stage4/12-pisdr-sdrangel/02-run.sh Dosyayı Görüntüle

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

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

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


+ 2
- 2
builder/stage4/12-pisdr-sdrangel/03-run.sh Dosyayı Görüntüle

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

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

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


+ 2
- 2
builder/stage4/12-pisdr-sdrangel/04-run.sh Dosyayı Görüntüle

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

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

if [ ! -d "codec2" ]; then
git clone https://github.com/drowe67/codec2.git


+ 2
- 2
builder/stage4/12-pisdr-sdrangel/05-run.sh Dosyayı Görüntüle

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

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"
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


+ 2
- 2
builder/stage4/13-pisdr-gqrx/00-run.sh Dosyayı Görüntüle

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

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/Software"
cd "/home/${FIRST_USER_NAME}/Software"
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


Yükleniyor…
İptal
Kaydet