pakur.sh 713 B

123456789101112131415161718
  1. # ship upstream main config file
  2. install -dm755 "${PKG}"/etc/bluetooth
  3. install -Dm644 "${SRC}"/"${isim}"-${surum}/src/main.conf "${PKG}"/etc/bluetooth/main.conf
  4. # fix module loading errors
  5. install -dm755 "${PKG}"/usr/lib/modprobe.d
  6. install -Dm644 "${SRC}"/bluetooth.modprobe "${PKG}"/usr/lib/modprobe.d/bluetooth-usb.conf
  7. # load module at system start required by some functions
  8. # https://bugzilla.kernel.org/show_bug.cgi?id=196621
  9. install -dm755 "$PKG"/usr/lib/modules-load.d
  10. echo "crypto_user" > "$PKG"/usr/lib/modules-load.d/bluez.conf
  11. for files in `find tools/ -type f -perm -755`; do
  12. filename=$(basename $files)
  13. install -Dm755 "${SRC}"/"${isim}"-${surum}/tools/$filename "${PKG}"/usr/bin/$filename
  14. done