Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

18 lignes
344 B

  1. #!/bin/bash -e
  2. on_chroot << EOF
  3. mkdir -p "/home/${FIRST_USER_NAME}/RTLSDR"
  4. cd "/home/${FIRST_USER_NAME}/RTLSDR"
  5. if [ ! -d "rtl-sdr" ]; then
  6. git clone https://github.com/osmocom/rtl-sdr
  7. fi
  8. cd rtl-sdr
  9. git pull
  10. mkdir -p build
  11. cd build
  12. cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
  13. make -j$(nproc) install
  14. ldconfig
  15. EOF