blob: 0fe5ca7afdf3bfda561b29409060f3ca2fa65128 [file] [log] [blame]
Brad Bishop0a544b52017-01-28 12:51:42 -05001SUMMARY = "Sample inventory map for phosphor-ipmi-fru"
Ed Tanous9936f862022-09-19 09:13:20 -07002PROVIDES += "virtual/phosphor-ipmi-fru-inventory"
Patrick Venture713c4d72018-10-26 09:56:15 -07003PV = "1.0+git${SRCPV}"
Ed Tanous9936f862022-09-19 09:13:20 -07004PR = "r1"
5
6S = "${WORKDIR}/git"
Brad Bishop0a544b52017-01-28 12:51:42 -05007
Brad Bishop0a544b52017-01-28 12:51:42 -05008inherit phosphor-ipmi-fru
Joseph Reynolds79809ea2021-02-26 15:37:31 -06009inherit native
Brad Bishop0a544b52017-01-28 12:51:42 -050010
Brad Bishop0a544b52017-01-28 12:51:42 -050011do_install() {
Patrick Williams91946e72017-02-09 12:20:09 -060012 # 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 Bishop0a544b52017-01-28 12:51:42 -050016 install -d ${DEST}
Patrick Williams91946e72017-02-09 12:20:09 -060017 install scripts/example.yaml ${DEST}/config.yaml
Brad Bishop0a544b52017-01-28 12:51:42 -050018}
Ed Tanous9936f862022-09-19 09:13:20 -070019
20require phosphor-ipmi-fru.inc