blob: 08425c13a6e62605f8a7492c2850cbd56a498548 [file] [log] [blame]
Brad Bishop0a544b52017-01-28 12:51:42 -05001SUMMARY = "Sample inventory map for phosphor-ipmi-fru"
2PR = "r1"
Patrick Venture713c4d72018-10-26 09:56:15 -07003PV = "1.0+git${SRCPV}"
Brad Bishop0a544b52017-01-28 12:51:42 -05004
Brad Bishop0a544b52017-01-28 12:51:42 -05005inherit phosphor-ipmi-fru
Joseph Reynolds79809ea2021-02-26 15:37:31 -06006inherit native
Brad Bishop0a544b52017-01-28 12:51:42 -05007
8require phosphor-ipmi-fru.inc
9
10PROVIDES += "virtual/phosphor-ipmi-fru-inventory"
11
12S = "${WORKDIR}/git"
13
14do_install() {
Patrick Williams91946e72017-02-09 12:20:09 -060015 # 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 Bishop0a544b52017-01-28 12:51:42 -050019 install -d ${DEST}
Patrick Williams91946e72017-02-09 12:20:09 -060020 install scripts/example.yaml ${DEST}/config.yaml
Brad Bishop0a544b52017-01-28 12:51:42 -050021}