1SUMMARY = "To merge the Host and BMC config files generated from MRW "
2DESCRIPTION = "Merge host provided FRU info config file, fru info config, \
3which is not sent by host config, and BMC accessible FRU info config \
4files generated by gen-ipmi-fru.pl into a single config file. \
5fru-gen parser parses the merged config file and generates cpp file"
6PR = "r1"
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
9
10inherit phosphor-ipmi-host
11inherit native
12
13DEPENDS += "virtual/phosphor-ipmi-fru-read-inventory"
14DEPENDS += "virtual/phosphor-ipmi-fru-read-bmc-inventory"
15DEPENDS += "virtual/phosphor-ipmi-fru-read-not-sent-by-host-inventory"
16PROVIDES += "virtual/phosphor-ipmi-fru-merge-config"
17
18do_install:append() {
19  SRC=${config_datadir}
20  DEST=${D}${config_datadir}
21  install -d ${DEST}
22  cat ${SRC}/config.yaml ${SRC}/bmc-fru-config.yaml > ${DEST}/fru_config.yaml
23  cat ${SRC}/fru-config-not-sent-by-host.yaml >> ${DEST}/fru_config.yaml
24}
25