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

123456789101112131415161718192021222324
  1. ---
  2. - name: Git checkout
  3. git:
  4. repo: https://github.com/airspy/airspyone_host.git
  5. dest: "{{ install_dir }}/Airspy"
  6. version: master
  7. recursive: yes
  8. depth: 1
  9. - name: Build
  10. shell: |
  11. set -e
  12. cd {{ install_dir }}/Airspy
  13. mkdir -p build
  14. cd build
  15. cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=/etc/pisdr/optimizations.cmake \
  16. -DINSTALL_UDEV_RULES=ON ../
  17. ninja install
  18. ldconfig
  19. echo "$(pwd)" >> {{ config_dir }}/build.dirs
  20. - name: Install UDEV Rules
  21. shell: |
  22. echo "/etc/udev/rules.d/52-airspy.rules" >> {{ config_dir }}/udev.paths