blob: 82f421ec6f38480a330980a0eb1da8944c34cb6c [file] [log] [blame]
Jordan Chang7cbff672023-03-03 15:53:28 +08001SUMMARY = "OpenBMC NCPLite Front Panel LED Monitor"
2DESCRIPTION = "OpenBMC NCPLite Front Panel Monitor"
3PR = "r1"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
6
7FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
8
9inherit systemd
10
11DEPENDS += "systemd"
12RDEPENDS:${PN} += "bash"
13
14SRC_URI += " file://ncplite-led.sh \
15 file://ncplite-led.service \
16 "
17
18do_install() {
19 install -d ${D}${libexecdir}/{BPN}
20 install -m 0755 ${WORKDIR}/ncplite-led.sh ${D}${libexecdir}/{BPN}
21
22 install -d ${D}${systemd_system_unitdir}
23 install -m 0644 ${WORKDIR}/ncplite-led.service ${D}${systemd_system_unitdir}
24}
25
26SYSTEMD_PACKAGES = "${PN}"
27SYSTEMD_SERVICE:${PN} = "ncplite-led.service"