blob: 734aca11c140d0b1dcb32ba3cba5fac2a070eaf9 [file] [log] [blame]
Marri Devender Rao5a0088c2017-07-26 02:11:32 -05001SUMMARY = "To merge the Host and BMC config files generated from MRW "
Nagaraju Goruganti5851dc12018-04-01 07:56:47 -05002DESCRIPTION = "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"
Marri Devender Rao5a0088c2017-07-26 02:11:32 -05006PR = "r1"
Patrick Venture7618b192018-11-03 16:34:52 -07007LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Marri Devender Rao5a0088c2017-07-26 02:11:32 -05009
10inherit native
11inherit phosphor-ipmi-host
Marri Devender Rao5a0088c2017-07-26 02:11:32 -050012
13DEPENDS += "virtual/phosphor-ipmi-fru-read-inventory"
14DEPENDS += "virtual/phosphor-ipmi-fru-read-bmc-inventory"
Nagaraju Goruganti5851dc12018-04-01 07:56:47 -050015DEPENDS += "virtual/phosphor-ipmi-fru-read-not-sent-by-host-inventory"
Marri Devender Rao5a0088c2017-07-26 02:11:32 -050016PROVIDES += "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
Nagaraju Goruganti5851dc12018-04-01 07:56:47 -050023 cat ${SRC}/fru-config-not-sent-by-host.yaml >> ${DEST}/fru_config.yaml
Marri Devender Rao5a0088c2017-07-26 02:11:32 -050024}