blob: 3f9d49a2d293f5e7b3d94325d57d5512126eb3b3 [file] [log] [blame]
Andrew Geissler72956ed2021-01-08 16:11:14 -06001DESCRIPTION = "Different utilities from Android - corressponding configuration files for using ConfigFS"
2SECTION = "console/utils"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6SRC_URI = " \
7 file://android-gadget-setup \
8 file://android-gadget-start \
9 file://android-gadget-cleanup \
10 file://10-adbd-configfs.conf \
11"
12
13PACKAGE_ARCH = "${MACHINE_ARCH}"
14
15do_install() {
16 install -d ${D}${bindir}
17 install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir}
18 install -m 0755 ${WORKDIR}/android-gadget-start ${D}${bindir}
19 install -m 0755 ${WORKDIR}/android-gadget-cleanup ${D}${bindir}
20
21 if [ -r ${WORKDIR}/android-gadget-setup.machine ] ; then
22 install -d ${D}${sysconfdir}
23 install -m 0644 ${WORKDIR}/android-gadget-setup.machine ${D}${sysconfdir}
24 fi
25
26 install -d ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
27 install -m 0644 ${WORKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
28}
29
Patrick Williams213cb262021-08-07 19:21:33 -050030FILES:${PN} += " \
Andrew Geissler72956ed2021-01-08 16:11:14 -060031 ${systemd_unitdir}/system/ \
32"
33
34PROVIDES += "android-tools-conf"
Patrick Williams213cb262021-08-07 19:21:33 -050035RPROVIDES:${PN} = "android-tools-conf"