blob: c6240c7f1a88cbc7e032f6564d50f54dbf60db18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
inherit obmc-phosphor-systemd systemd
SRC_URI += "file://yosemite4-phosphor-multi-gpio-monitor.json \
file://set-button-sled.service \
file://probe-slot-device@.service \
file://probe-slot-device \
"
RDEPENDS:${PN}:append:yosemite4 = " bash"
FILES:${PN} += "${systemd_system_unitdir}/*"
SYSTEMD_SERVICE:${PN} += " \
set-button-sled.service \
probe-slot-device@.service \
"
SYSTEMD_AUTO_ENABLE = "enable"
do_install:append:() {
install -d ${D}${datadir}/phosphor-gpio-monitor
install -m 0644 ${WORKDIR}/yosemite4-phosphor-multi-gpio-monitor.json \
${D}${datadir}/phosphor-gpio-monitor/phosphor-multi-gpio-monitor.json
install -m 0644 ${WORKDIR}/set-button-sled.service ${D}${systemd_system_unitdir}/set-button-sled.service
install -m 0644 ${WORKDIR}/probe-slot-device@.service ${D}${systemd_system_unitdir}/probe-slot-device@.service
install -d ${D}${libexecdir}/${PN}
install -m 0777 ${WORKDIR}/probe-slot-device ${D}${libexecdir}/${PN}/
}
|