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