You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
429 B

  1. #!/bin/bash -e
  2. # Dont forget to update the desktop shortcut.
  3. on_chroot << EOF
  4. mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
  5. cd "/home/${FIRST_USER_NAME}/PiSDR/Software"
  6. if [ ! -d "qt-dab" ]; then
  7. git clone --single-branch --branch qt-dab-4.11 --depth 1 https://github.com/JvanKatwijk/qt-dab.git
  8. fi
  9. cd qt-dab/dab-maxi
  10. mkdir -p build
  11. cd build
  12. cmake -GNinja ..
  13. ninja install
  14. ldconfig
  15. cd ..
  16. rm -fr build
  17. EOF