Andrew Jeffery | 381e1e9 | 2018-04-06 14:13:14 +0930 | [diff] [blame] | 1 | SUMMARY = "Phosphor IPMI daemon configuration" |
| 2 | PR = "r1" |
| 3 | |
| 4 | inherit obmc-phosphor-license |
| 5 | inherit allarch |
| 6 | |
| 7 | SRC_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 | |
| 15 | FILES_${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 | |
| 23 | do_fetch[noexec] = "1" |
| 24 | do_patch[noexec] = "1" |
| 25 | do_configure[noexec] = "1" |
| 26 | do_compile[noexec] = "1" |
| 27 | |
| 28 | do_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 | } |