Jason Lin | b765e11 | 2023-12-06 01:49:31 +0000 | [diff] [blame] | 1 | SUMMARY = "starscream init service" |
| 2 | DESCRIPTION = "Essential init commands for starscream" |
| 3 | PR = "r1" |
| 4 | |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 7 | |
| 8 | inherit obmc-phosphor-systemd |
| 9 | |
| 10 | DEPENDS += "systemd" |
| 11 | RDEPENDS:${PN} += "libsystemd" |
| 12 | |
| 13 | |
| 14 | FILESEXTRAPATHS:prepend := "${THISDIR}/starscream-init:" |
| 15 | SRC_URI += "file://starscream-init.sh \ |
| 16 | " |
| 17 | |
| 18 | S = "${WORKDIR}" |
| 19 | |
| 20 | do_install() { |
| 21 | install -d ${D}${sbindir} |
| 22 | install -m 0755 starscream-init.sh ${D}${sbindir} |
| 23 | } |
| 24 | |
| 25 | SYSTEMD_SERVICE:${PN} += "starscream-init.service" |