blob: 933fd3b48c08fb162b2d4e13068651e48a70d4d1 [file] [log] [blame]
Andrew Jeffery381e1e92018-04-06 14:13:14 +09301SUMMARY = "Phosphor IPMI daemon configuration"
2PR = "r1"
3
4inherit obmc-phosphor-license
5inherit allarch
6
7SRC_URI = " \
8 file://cipher_list.json \
9 file://dcmi_cap.json \
10 file://dcmi_sensors.json \
11 file://dev_id.json \
12 file://power_reading.json \
13 "
14
15FILES_${PN} = " \
16 ${datadir}/ipmi-providers/cipher_list.json \
17 ${datadir}/ipmi-providers/dcmi_cap.json \
18 ${datadir}/ipmi-providers/dcmi_sensors.json \
19 ${datadir}/ipmi-providers/dev_id.json \
20 ${datadir}/ipmi-providers/power_reading.json \
21 "
22
23do_fetch[noexec] = "1"
24do_patch[noexec] = "1"
25do_configure[noexec] = "1"
26do_compile[noexec] = "1"
27
28do_install() {
29 install -d ${D}${datadir}/ipmi-providers
30 install -m 0644 -D ${WORKDIR}/cipher_list.json \
31 ${D}${datadir}/ipmi-providers/cipher_list.json
32 install -m 0644 -D ${WORKDIR}/dcmi_cap.json \
33 ${D}${datadir}/ipmi-providers/dcmi_cap.json
34 install -m 0644 -D ${WORKDIR}/dcmi_sensors.json \
35 ${D}${datadir}/ipmi-providers/dcmi_sensors.json
36 install -m 0644 -D ${WORKDIR}/dev_id.json \
37 ${D}${datadir}/ipmi-providers/dev_id.json
38 install -m 0644 -D ${WORKDIR}/power_reading.json \
39 ${D}${datadir}/ipmi-providers/power_reading.json
40}