Ratan Gupta | b92d0ec | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 1 | SUMMARY = "Sensor config for phosphor-host-ipmi" |
| 2 | PR = "r1" |
| 3 | |
| 4 | inherit native |
| 5 | inherit phosphor-ipmi-host |
| 6 | inherit obmc-phosphor-license |
| 7 | |
| 8 | PROVIDES += "virtual/phosphor-ipmi-sensor-inventory" |
| 9 | |
| 10 | SRC_URI += "file://config.yaml" |
| 11 | |
| 12 | S = "${WORKDIR}" |
| 13 | |
| 14 | do_install() { |
| 15 | # This recipe is supposed to create an output yaml file with |
| 16 | # sensor data extracted from the mrw. |
| 17 | # provides a sample output file. |
| 18 | |
Ratan Gupta | b76fa56 | 2017-03-17 19:37:28 +0530 | [diff] [blame] | 19 | DEST=${D}${sensor_datadir} |
Ratan Gupta | b92d0ec | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 20 | install -d ${DEST} |
| 21 | install config.yaml ${DEST}/sensor.yaml |
| 22 | } |