summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-inventory-example-native_git.bb
blob: 08425c13a6e62605f8a7492c2850cbd56a498548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "Sample inventory map for phosphor-ipmi-fru"
PR = "r1"
PV = "1.0+git${SRCPV}"

inherit phosphor-ipmi-fru
inherit native

require phosphor-ipmi-fru.inc

PROVIDES += "virtual/phosphor-ipmi-fru-inventory"

S = "${WORKDIR}/git"

do_install() {
        # TODO: install this to inventory_datadir
        # after ipmi-fru-parser untangles the host
        # firmware config from the machine inventory.
        DEST=${D}${config_datadir}
        install -d ${DEST}
        install scripts/example.yaml ${DEST}/config.yaml
}