diff options
Diffstat (limited to 'dynamic-layers/selinux/android-tools/android-tools-conf-configfs_1.0.bb')
| -rw-r--r-- | dynamic-layers/selinux/android-tools/android-tools-conf-configfs_1.0.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dynamic-layers/selinux/android-tools/android-tools-conf-configfs_1.0.bb b/dynamic-layers/selinux/android-tools/android-tools-conf-configfs_1.0.bb new file mode 100644 index 0000000..01dc1be --- /dev/null +++ b/dynamic-layers/selinux/android-tools/android-tools-conf-configfs_1.0.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | DESCRIPTION = "Different utilities from Android - corressponding configuration files for using ConfigFS" | ||
| 2 | SECTION = "console/utils" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
| 5 | |||
| 6 | SRC_URI = " \ | ||
| 7 | file://android-gadget-setup \ | ||
| 8 | file://android-gadget-start \ | ||
| 9 | file://android-gadget-cleanup \ | ||
| 10 | file://10-adbd-configfs.conf \ | ||
| 11 | " | ||
| 12 | |||
| 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 14 | |||
| 15 | do_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 | |||
| 30 | FILES_${PN} += " \ | ||
| 31 | ${systemd_unitdir}/system/ \ | ||
| 32 | " | ||
| 33 | |||
| 34 | PROVIDES += "android-tools-conf" | ||
| 35 | RPROVIDES_${PN} = "android-tools-conf" | ||
