Tom Joseph | cf7e849 | 2017-05-08 11:49:10 +0530 | [diff] [blame] | 1 | SUMMARY = "Inventory to Sensor config for non-mrw machines" |
Brad Bishop | 75f0387 | 2018-11-03 09:41:57 -0700 | [diff] [blame] | 2 | LICENSE = "Apache-2.0" |
Brad Bishop | 6f3f0aa | 2019-09-13 12:14:05 -0400 | [diff] [blame] | 3 | 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] | 4 | PROVIDES += "virtual/phosphor-ipmi-inventory-sel" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame^] | 5 | PR = "r1" |
Tom Joseph | cf7e849 | 2017-05-08 11:49:10 +0530 | [diff] [blame] | 6 | |
| 7 | SRC_URI += "file://config.yaml" |
| 8 | |
| 9 | S = "${WORKDIR}" |
| 10 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame^] | 11 | inherit phosphor-ipmi-host |
| 12 | inherit native |
| 13 | |
Tom Joseph | cf7e849 | 2017-05-08 11:49:10 +0530 | [diff] [blame] | 14 | do_install() { |
| 15 | # This recipe would provide the sample inventory to sensor config |
| 16 | # mapping, for non-mrw machines. |
Tom Joseph | cf7e849 | 2017-05-08 11:49:10 +0530 | [diff] [blame] | 17 | DEST=${D}${sensor_datadir} |
| 18 | install -d ${DEST} |
| 19 | install config.yaml ${DEST}/invsensor.yaml |
| 20 | } |