Andrew Jeffery | 1b77f28e | 2018-04-06 14:13:14 +0930 | [diff] [blame] | 1 | SUMMARY = "Phosphor IPMI daemon configuration" |
| 2 | PR = "r1" |
Brad Bishop | 75f0387 | 2018-11-03 09:41:57 -0700 | [diff] [blame] | 3 | LICENSE = "Apache-2.0" |
Brad Bishop | 6f3f0aa | 2019-09-13 12:14:05 -0400 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Andrew Jeffery | 1b77f28e | 2018-04-06 14:13:14 +0930 | [diff] [blame] | 5 | |
Andrew Jeffery | 1b77f28e | 2018-04-06 14:13:14 +0930 | [diff] [blame] | 6 | inherit allarch |
| 7 | |
| 8 | SRC_URI = " \ |
| 9 | file://cipher_list.json \ |
| 10 | file://dcmi_cap.json \ |
| 11 | file://dcmi_sensors.json \ |
| 12 | file://dev_id.json \ |
| 13 | file://power_reading.json \ |
AppaRao Puli | 225e91f | 2018-06-27 23:40:11 +0530 | [diff] [blame] | 14 | file://channel_access.json \ |
| 15 | file://channel_config.json \ |
Patrick Venture | 8327bba | 2019-08-19 12:32:53 -0700 | [diff] [blame] | 16 | file://entity-map.json \ |
jayaprakash Mutyala | 7f42761 | 2020-01-31 08:50:13 +0000 | [diff] [blame] | 17 | file://cs_privilege_levels.json \ |
Andrew Jeffery | 1b77f28e | 2018-04-06 14:13:14 +0930 | [diff] [blame] | 18 | " |
| 19 | |
| 20 | FILES_${PN} = " \ |
| 21 | ${datadir}/ipmi-providers/cipher_list.json \ |
| 22 | ${datadir}/ipmi-providers/dcmi_cap.json \ |
| 23 | ${datadir}/ipmi-providers/dcmi_sensors.json \ |
| 24 | ${datadir}/ipmi-providers/dev_id.json \ |
| 25 | ${datadir}/ipmi-providers/power_reading.json \ |
AppaRao Puli | 225e91f | 2018-06-27 23:40:11 +0530 | [diff] [blame] | 26 | ${datadir}/ipmi-providers/channel_access.json \ |
| 27 | ${datadir}/ipmi-providers/channel_config.json \ |
Patrick Venture | 8327bba | 2019-08-19 12:32:53 -0700 | [diff] [blame] | 28 | ${datadir}/ipmi-providers/entity-map.json \ |
jayaprakash Mutyala | 7f42761 | 2020-01-31 08:50:13 +0000 | [diff] [blame] | 29 | ${datadir}/ipmi-providers/cs_privilege_levels.json \ |
Andrew Jeffery | 1b77f28e | 2018-04-06 14:13:14 +0930 | [diff] [blame] | 30 | " |
| 31 | |
| 32 | do_fetch[noexec] = "1" |
| 33 | do_patch[noexec] = "1" |
| 34 | do_configure[noexec] = "1" |
| 35 | do_compile[noexec] = "1" |
| 36 | |
| 37 | do_install() { |
| 38 | install -d ${D}${datadir}/ipmi-providers |
| 39 | install -m 0644 -D ${WORKDIR}/cipher_list.json \ |
| 40 | ${D}${datadir}/ipmi-providers/cipher_list.json |
| 41 | install -m 0644 -D ${WORKDIR}/dcmi_cap.json \ |
| 42 | ${D}${datadir}/ipmi-providers/dcmi_cap.json |
| 43 | install -m 0644 -D ${WORKDIR}/dcmi_sensors.json \ |
| 44 | ${D}${datadir}/ipmi-providers/dcmi_sensors.json |
| 45 | install -m 0644 -D ${WORKDIR}/dev_id.json \ |
| 46 | ${D}${datadir}/ipmi-providers/dev_id.json |
| 47 | install -m 0644 -D ${WORKDIR}/power_reading.json \ |
| 48 | ${D}${datadir}/ipmi-providers/power_reading.json |
AppaRao Puli | 225e91f | 2018-06-27 23:40:11 +0530 | [diff] [blame] | 49 | install -m 0644 -D ${WORKDIR}/channel_access.json \ |
| 50 | ${D}${datadir}/ipmi-providers/channel_access.json |
| 51 | install -m 0644 -D ${WORKDIR}/channel_config.json \ |
| 52 | ${D}${datadir}/ipmi-providers/channel_config.json |
Patrick Venture | 8327bba | 2019-08-19 12:32:53 -0700 | [diff] [blame] | 53 | install -m 0644 -D ${WORKDIR}/entity-map.json \ |
| 54 | ${D}${datadir}/ipmi-providers/entity-map.json |
jayaprakash Mutyala | 7f42761 | 2020-01-31 08:50:13 +0000 | [diff] [blame] | 55 | install -m 0644 -D ${WORKDIR}/cs_privilege_levels.json \ |
| 56 | ${D}${datadir}/ipmi-providers/cs_privilege_levels.json |
Andrew Jeffery | 1b77f28e | 2018-04-06 14:13:14 +0930 | [diff] [blame] | 57 | } |