From 142ef15f0f1b3086c3822d05af98506c7485f92a Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Thu, 12 Nov 2020 17:22:17 -0300 Subject: [PATCH] add universal radio hacker support --- builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh | 2 +- builder/stage4/31-pisdr-urh/00-run.sh | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100755 builder/stage4/31-pisdr-urh/00-run.sh diff --git a/builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh b/builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh index 11d53a1..ee6cdce 100755 --- a/builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh +++ b/builder/stage4/26-pisdr-limesdr-toolbox/00-run.sh @@ -5,7 +5,7 @@ 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 + git clone https://github.com/emvivre/limesdr_toolbox.git fi cd limesdr_toolbox diff --git a/builder/stage4/31-pisdr-urh/00-run.sh b/builder/stage4/31-pisdr-urh/00-run.sh new file mode 100755 index 0000000..c083045 --- /dev/null +++ b/builder/stage4/31-pisdr-urh/00-run.sh @@ -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 https://github.com/jopohl/urh.git +fi + +cd urh +python3 -m pip install --upgrade cython +python3 setup.py install +EOF \ No newline at end of file