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"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
8DEPENDS += "virtual/phosphor-ipmi-fru-read-inventory"
9PROVIDES += "virtual/phosphor-ipmi-fru-merge-config"
10PR = "r1"
11
12inherit phosphor-ipmi-host
13inherit native
14
15do_install:append() {
16  SRC=${config_datadir}
17  DEST=${D}${config_datadir}
18  install -d ${DEST}
19  cat ${SRC}/config.yaml > ${DEST}/fru_config.yaml
20}
21