blob: 9750f28b9395113385a83be7684b494abe90dcc0 [file] [log] [blame]
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +00001FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2
3RDEPENDS:${PN}-monitor += "bash"
4
5SRC_URI += " \
6 file://phosphor-multi-gpio-monitor.json \
7 "
8
9SYSTEMD_SERVICE:${PN}-monitor += " \
10 ampere-host-shutdown-ack@.service \
11 "
12
13FILES:${PN}-monitor += " \
14 /usr/share/${PN}/phosphor-multi-gpio-monitor.json \
15 "
16
17SYSTEMD_LINK:${PN}-monitor:append = " ../phosphor-multi-gpio-monitor.service:multi-user.target.requires/phosphor-multi-gpio-monitor.service"
18
19do_install:append() {
20 install -d ${D}${bindir}
21 install -m 0644 ${WORKDIR}/phosphor-multi-gpio-monitor.json ${D}${datadir}/${PN}/
22}