Brad Bishop | c9ed720 | 2019-06-14 12:33:18 -0400 | [diff] [blame^] | 1 | SUMMARY = "Vesnin IPMI to DBus Inventory mapping." |
| 2 | PR = "r1" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${YADROBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
| 5 | |
| 6 | inherit native |
| 7 | inherit phosphor-ipmi-host |
| 8 | |
| 9 | FILESEXTRAPATHS_prepend := "${THISDIR}/vesnin-ipmi-inventory-map:" |
| 10 | |
| 11 | SRC_URI += "file://config.yaml" |
| 12 | |
| 13 | PROVIDES += "virtual/phosphor-ipmi-fru-read-inventory" |
| 14 | |
| 15 | S = "${WORKDIR}" |
| 16 | |
| 17 | do_install() { |
| 18 | # TODO: install this to inventory_datadir |
| 19 | # after ipmi-fru-parser untangles the host |
| 20 | # firmware config from the machine inventory. |
| 21 | DEST=${D}${config_datadir} |
| 22 | |
| 23 | install -d ${DEST} |
| 24 | install config.yaml ${DEST} |
| 25 | } |