From 4c22ffa9a09af11e2d2f75d318df6b2d783125fd Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Tue, 2 Mar 2021 01:06:00 -0300 Subject: [PATCH 1/2] Add hardcoded sdrangel version. --- stage4/17-pisdr-sdrangel/05-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stage4/17-pisdr-sdrangel/05-run.sh b/stage4/17-pisdr-sdrangel/05-run.sh index d8fbcbd..8042d7b 100755 --- a/stage4/17-pisdr-sdrangel/05-run.sh +++ b/stage4/17-pisdr-sdrangel/05-run.sh @@ -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 --depth 1 https://github.com/f4exb/sdrangel.git + git clone --depth 1 --branch v6.5.5 https://github.com/f4exb/sdrangel.git fi cd sdrangel @@ -16,4 +16,4 @@ ninja install ldconfig cd .. rm -fr build -EOF \ No newline at end of file +EOF From 333c2aa59fd6c9b485a6bc7ccee560ad57e49296 Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Tue, 2 Mar 2021 15:29:21 -0300 Subject: [PATCH 2/2] Create dump1090 directory. --- stage4/32-pisdr-dump1090/00-run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stage4/32-pisdr-dump1090/00-run.sh b/stage4/32-pisdr-dump1090/00-run.sh index 7a19501..f270667 100755 --- a/stage4/32-pisdr-dump1090/00-run.sh +++ b/stage4/32-pisdr-dump1090/00-run.sh @@ -1,5 +1,6 @@ #!/bin/bash -e +install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090/" install -v -o 1000 -g 1000 -m 755 targets/enable.sh "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090/" install -v -o 1000 -g 1000 -m 755 targets/disable.sh "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090/" install -v -o 1000 -g 1000 -m 755 targets/configure_rbfeeder.sh "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PiSDR/Software/dump1090/" @@ -132,4 +133,4 @@ echo "[PiSDR] Deleting build files to save space." rm -fr /usr/local/share/tar1090/git-db rm -fr /usr/local/share/tar1090/git -EOF \ No newline at end of file +EOF