android-tools-conf-configfs_1.0.bb 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. DESCRIPTION = "Various utilities from Android - corresponding configuration files for using ConfigFS"
  2. SECTION = "console/utils"
  3. LICENSE = "MIT"
  4. LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
  5. SRC_URI = " \
  6. file://android-gadget-setup \
  7. file://android-gadget-start \
  8. file://android-gadget-cleanup \
  9. file://10-adbd-configfs.conf \
  10. "
  11. PACKAGE_ARCH = "${MACHINE_ARCH}"
  12. do_install() {
  13. install -d ${D}${bindir}
  14. install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
  15. install -m 0755 ${UNPACKDIR}/android-gadget-start ${D}${bindir}
  16. install -m 0755 ${UNPACKDIR}/android-gadget-cleanup ${D}${bindir}
  17. if [ -r ${UNPACKDIR}/android-gadget-setup.machine ] ; then
  18. install -d ${D}${sysconfdir}
  19. install -m 0644 ${UNPACKDIR}/android-gadget-setup.machine ${D}${sysconfdir}
  20. fi
  21. install -d ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
  22. install -m 0644 ${UNPACKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
  23. }
  24. FILES:${PN} += " \
  25. ${systemd_unitdir}/system/ \
  26. "
  27. PROVIDES += "android-tools-conf"
  28. RPROVIDES:${PN} = "android-tools-conf"