blob: 6eb76ac4ed79e4efec2c7026a8ebe26d970d3318 [file] [log] [blame]
SUMMARY = "Inventory config for openpower-vpd-parser"
PR = "r1"
inherit native
inherit obmc-phosphor-license
inherit openpower-fru-vpd
inherit mrw-xml
DEPENDS += " \
mrw-native \
mrw-perl-tools-native \
virtual/openpower-fru-vpd-layout \
"
PROVIDES += "virtual/openpower-fru-inventory"
S = "${WORKDIR}"
do_install() {
DEST=${D}${inventory_datadir_native}
install -d ${DEST}
${bindir}/perl-native/perl \
${bindir}/gen_openpower_fru.pl \
-m ${mrw_datadir}/${MRW_XML} \
-c ${vpdlayout_datadir}/layout.yaml \
-o ${DEST}/inventory
}