Tom Joseph | cf7e849 | 2017-05-08 11:49:10 +0530 | [diff] [blame] | 1 | SUMMARY = "Inventory to Sensor config for non-mrw machines" |
| 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" |
Tom Joseph | cf7e849 | 2017-05-08 11:49:10 +0530 | [diff] [blame] | 5 | |
Tom Joseph | cf7e849 | 2017-05-08 11:49:10 +0530 | [diff] [blame] | 6 | inherit phosphor-ipmi-host |
Joseph Reynolds | 79809ea | 2021-02-26 15:37:31 -0600 | [diff] [blame] | 7 | inherit native |
Tom Joseph | cf7e849 | 2017-05-08 11:49:10 +0530 | [diff] [blame] | 8 | |
| 9 | PROVIDES += "virtual/phosphor-ipmi-inventory-sel" |
| 10 | |
| 11 | SRC_URI += "file://config.yaml" |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | do_install() { |
| 16 | # This recipe would provide the sample inventory to sensor config |
| 17 | # mapping, for non-mrw machines. |
| 18 | |
| 19 | DEST=${D}${sensor_datadir} |
| 20 | install -d ${DEST} |
| 21 | install config.yaml ${DEST}/invsensor.yaml |
| 22 | } |