| DESCRIPTION = "Mediatek Boost Service" |
| LICENSE = "MediaTekProprietary" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=35b74e6ee01be137c7e57a2cd6875f25" |
| SRC_URI = "file://boost_service_basic.service \ |
| file://boostsc \ |
| file://LICENSE \ |
| " |
| |
| S = "${WORKDIR}" |
| RDEPENDS_boost-service += "bash" |
| inherit systemd |
| |
| SYSTEMD_PACKAGES = "${PN}" |
| SYSTEMD_SERVICE_${PN} = "boost_service_basic.service" |
| FILES_${PN} = "${systemd_unitdir} ${datadir}/boost-service" |
| do_install_append() { |
| install -d ${D}${datadir}/boost-service |
| install -m 0755 ${S}/boostsc ${D}${datadir}/boost-service |
| if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| install -d ${D}${systemd_unitdir}/system/ |
| install -m 0644 ${S}/boost_service_basic.service ${D}${systemd_unitdir}/system |
| fi |
| } |