rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | DESCRIPTION = "Mediatek Boost Service" |
| 2 | LICENSE = "MediaTekProprietary" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=35b74e6ee01be137c7e57a2cd6875f25" |
| 4 | SRC_URI = "file://boost_service_basic.service \ |
| 5 | file://boostsc \ |
| 6 | file://LICENSE \ |
| 7 | " |
| 8 | |
| 9 | S = "${WORKDIR}" |
| 10 | RDEPENDS_boost-service += "bash" |
| 11 | inherit systemd |
| 12 | |
| 13 | SYSTEMD_PACKAGES = "${PN}" |
| 14 | SYSTEMD_SERVICE_${PN} = "boost_service_basic.service" |
| 15 | FILES_${PN} = "${systemd_unitdir} ${datadir}/boost-service" |
| 16 | do_install_append() { |
| 17 | install -d ${D}${datadir}/boost-service |
| 18 | install -m 0755 ${S}/boostsc ${D}${datadir}/boost-service |
| 19 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 20 | install -d ${D}${systemd_unitdir}/system/ |
| 21 | install -m 0644 ${S}/boost_service_basic.service ${D}${systemd_unitdir}/system |
| 22 | fi |
| 23 | } |