Brad Bishop | 30f7855 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 1 | SUMMARY = "Sample inventory map for phosphor-ipmi-fru" |
| 2 | PR = "r1" |
Patrick Venture | 4836bb7 | 2018-10-26 09:56:15 -0700 | [diff] [blame] | 3 | PV = "1.0+git${SRCPV}" |
Brad Bishop | 30f7855 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 4 | |
| 5 | inherit native |
| 6 | inherit phosphor-ipmi-fru |
| 7 | |
| 8 | require phosphor-ipmi-fru.inc |
| 9 | |
| 10 | PROVIDES += "virtual/phosphor-ipmi-fru-inventory" |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | do_install() { |
Patrick Williams | 70a568d | 2017-02-09 12:20:09 -0600 | [diff] [blame] | 15 | # TODO: install this to inventory_datadir |
| 16 | # after ipmi-fru-parser untangles the host |
| 17 | # firmware config from the machine inventory. |
| 18 | DEST=${D}${config_datadir} |
Brad Bishop | 30f7855 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 19 | install -d ${DEST} |
Patrick Williams | 70a568d | 2017-02-09 12:20:09 -0600 | [diff] [blame] | 20 | install scripts/example.yaml ${DEST}/config.yaml |
Brad Bishop | 30f7855 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 21 | } |