Ratan Gupta | 3aa591f | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 1 | SUMMARY = "Sensor config for phosphor-host-ipmi" |
| 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" |
Ratan Gupta | 3aa591f | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 5 | |
Ratan Gupta | 3aa591f | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 6 | inherit phosphor-ipmi-host |
Joseph Reynolds | 79809ea | 2021-02-26 15:37:31 -0600 | [diff] [blame] | 7 | inherit native |
Ratan Gupta | 3aa591f | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 8 | |
| 9 | PROVIDES += "virtual/phosphor-ipmi-sensor-inventory" |
| 10 | |
| 11 | SRC_URI += "file://config.yaml" |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | do_install() { |
| 16 | # This recipe is supposed to create an output yaml file with |
| 17 | # sensor data extracted from the mrw. |
| 18 | # provides a sample output file. |
| 19 | |
Ratan Gupta | 65e6e47 | 2017-03-17 19:37:28 +0530 | [diff] [blame] | 20 | DEST=${D}${sensor_datadir} |
Ratan Gupta | 3aa591f | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 21 | install -d ${DEST} |
| 22 | install config.yaml ${DEST}/sensor.yaml |
| 23 | } |