您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819
  1. #!/bin/bash -e
  2. on_chroot << EOF
  3. mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
  4. cd "/home/${FIRST_USER_NAME}/PiSDR/Radios"
  5. if [ ! -d "SoapyPlutoSDR" ]; then
  6. git clone --depth 1 https://github.com/pothosware/SoapyPlutoSDR.git
  7. fi
  8. cd SoapyPlutoSDR
  9. mkdir -p build
  10. cd build
  11. cmake -GNinja -DCMAKE_CXX_FLAGS=-latomic ..
  12. ninja install
  13. ldconfig
  14. cd ..
  15. rm -fr build
  16. EOF