From d9e8e933e8fde2df58e5e57d4a0c691baca4a2c2 Mon Sep 17 00:00:00 2001 From: Luigi Freitas Cruz Date: Thu, 20 Feb 2020 14:36:45 -0300 Subject: [PATCH] Fix wallpaper and shortcut installation. --- builder/stage4/04-pisdr-system/01-run.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/builder/stage4/04-pisdr-system/01-run.sh b/builder/stage4/04-pisdr-system/01-run.sh index 1c89958..3a1e8b3 100755 --- a/builder/stage4/04-pisdr-system/01-run.sh +++ b/builder/stage4/04-pisdr-system/01-run.sh @@ -1,9 +1,5 @@ -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" +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 -m 755 wallpaper/donald-giannatti-vla.jpg "${ROOTFS_DIR}/usr/share/rpd-wallpaper/" - -on_chroot << EOF -pcmanfm --set-wallpaper ${ROOTFS_DIR}/usr/share/rpd-wallpaper/donald-giannatti-vla.jpg -EOF \ No newline at end of file +install -m 755 wallpaper/donald-giannatti-vla.jpg "${ROOTFS_DIR}/usr/share/rpd-wallpaper/" \ No newline at end of file