From de724fea892041440a0027e07b24534b1e1586ac Mon Sep 17 00:00:00 2001 From: Luigi Cruz Date: Wed, 19 Feb 2020 21:47:54 -0300 Subject: [PATCH] Fix GNURadio path and add Desktop Shortcuts. --- builder/stage4/04-pisdr-system/01-run.sh | 3 +++ builder/stage4/04-pisdr-system/shortcut/gnuradio.desktop | 9 +++++++++ builder/stage4/04-pisdr-system/shortcut/gqrx.desktop | 9 +++++++++ builder/stage4/04-pisdr-system/shortcut/sdrangel.desktop | 9 +++++++++ builder/stage4/05-pisdr-gnuradio/00-run.sh | 4 ++-- 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100755 builder/stage4/04-pisdr-system/01-run.sh create mode 100644 builder/stage4/04-pisdr-system/shortcut/gnuradio.desktop create mode 100644 builder/stage4/04-pisdr-system/shortcut/gqrx.desktop create mode 100644 builder/stage4/04-pisdr-system/shortcut/sdrangel.desktop diff --git a/builder/stage4/04-pisdr-system/01-run.sh b/builder/stage4/04-pisdr-system/01-run.sh new file mode 100755 index 0000000..f168903 --- /dev/null +++ b/builder/stage4/04-pisdr-system/01-run.sh @@ -0,0 +1,3 @@ +install -m 755 shortcut/gnuradio.desktop "/home/${FIRST_USER_NAME}/Desktop" +install -m 755 shortcut/gqrx.desktop "/home/${FIRST_USER_NAME}/Desktop" +install -m 755 shortcut/sdrangel.desktop "/home/${FIRST_USER_NAME}/Desktop" \ No newline at end of file diff --git a/builder/stage4/04-pisdr-system/shortcut/gnuradio.desktop b/builder/stage4/04-pisdr-system/shortcut/gnuradio.desktop new file mode 100644 index 0000000..f0c56a0 --- /dev/null +++ b/builder/stage4/04-pisdr-system/shortcut/gnuradio.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=GNURadio Companion +Comment=GNURadio +Icon=/home/pi/GNURadio/gnuradio/grc/scripts/freedesktop/gnuradio_logo_icon-square.svg +Exec=gnuradio-companion +Type=Application +Encoding=UTF-8 +Terminal=true +Categories=None; \ No newline at end of file diff --git a/builder/stage4/04-pisdr-system/shortcut/gqrx.desktop b/builder/stage4/04-pisdr-system/shortcut/gqrx.desktop new file mode 100644 index 0000000..c7b6ef9 --- /dev/null +++ b/builder/stage4/04-pisdr-system/shortcut/gqrx.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=GQRX +Comment=GQRX +Icon=/home/pi/Software/gqrx/new_logo/SVG/icon color.svg +Exec=gqrx +Type=Application +Encoding=UTF-8 +Terminal=true +Categories=None; \ No newline at end of file diff --git a/builder/stage4/04-pisdr-system/shortcut/sdrangel.desktop b/builder/stage4/04-pisdr-system/shortcut/sdrangel.desktop new file mode 100644 index 0000000..d57fe7d --- /dev/null +++ b/builder/stage4/04-pisdr-system/shortcut/sdrangel.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=SDR Angel +Comment=SDR Angel +Icon=/home/pi/Software/sdrangel/cmake/cpack/sdrangel_icon.svg +Exec=sdrangel +Type=Application +Encoding=UTF-8 +Terminal=true +Categories=None; \ No newline at end of file diff --git a/builder/stage4/05-pisdr-gnuradio/00-run.sh b/builder/stage4/05-pisdr-gnuradio/00-run.sh index b22c3e3..af7515e 100755 --- a/builder/stage4/05-pisdr-gnuradio/00-run.sh +++ b/builder/stage4/05-pisdr-gnuradio/00-run.sh @@ -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}/GNURadio" +cd "/home/${FIRST_USER_NAME}/GNURadio" if [ ! -d "gnuradio" ]; then git clone --recursive https://github.com/gnuradio/gnuradio.git