blob: 08ae17d7e2baaa158d8e4856bae3f1cb2748626f [file] [log] [blame]
Tom Josephcf7e8492017-05-08 11:49:10 +05301SUMMARY = "Inventory to Sensor config for non-mrw machines"
Brad Bishop75f03872018-11-03 09:41:57 -07002LICENSE = "Apache-2.0"
Brad Bishop6f3f0aa2019-09-13 12:14:05 -04003LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Tom Josephcf7e8492017-05-08 11:49:10 +05304PROVIDES += "virtual/phosphor-ipmi-inventory-sel"
Ed Tanous9936f862022-09-19 09:13:20 -07005PR = "r1"
Tom Josephcf7e8492017-05-08 11:49:10 +05306
7SRC_URI += "file://config.yaml"
8
9S = "${WORKDIR}"
10
Ed Tanous9936f862022-09-19 09:13:20 -070011inherit phosphor-ipmi-host
12inherit native
13
Tom Josephcf7e8492017-05-08 11:49:10 +053014do_install() {
15 # This recipe would provide the sample inventory to sensor config
16 # mapping, for non-mrw machines.
Tom Josephcf7e8492017-05-08 11:49:10 +053017 DEST=${D}${sensor_datadir}
18 install -d ${DEST}
19 install config.yaml ${DEST}/invsensor.yaml
20}