Ratan Gupta | b92d0ec | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 1 | SUMMARY = "Sensor config for phosphor-host-ipmi" |
| 2 | PR = "r1" |
Patrick Venture | d633d43 | 2018-11-03 16:36:58 -0700 | [diff] [blame] | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Ratan Gupta | b92d0ec | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 5 | |
| 6 | inherit native |
| 7 | inherit phosphor-ipmi-host |
Ratan Gupta | b92d0ec | 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 | b76fa56 | 2017-03-17 19:37:28 +0530 | [diff] [blame] | 20 | DEST=${D}${sensor_datadir} |
Ratan Gupta | b92d0ec | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 21 | install -d ${DEST} |
| 22 | install config.yaml ${DEST}/sensor.yaml |
| 23 | } |