blob: ecce0816c33d4302722d53c7f16a042d3e755d9c [file] [log] [blame]
Marri Devender Rao53c55032017-07-26 02:11:32 -05001SUMMARY = "To merge the Host and BMC config files generated from MRW "
Nagaraju Goruganti0a01e9f2018-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"
Brad Bishop75f03872018-11-03 09:41:57 -07006LICENSE = "Apache-2.0"
Brad Bishop6f3f0aa2019-09-13 12:14:05 -04007LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Marri Devender Rao53c55032017-07-26 02:11:32 -05008DEPENDS += "virtual/phosphor-ipmi-fru-read-inventory"
Marri Devender Rao53c55032017-07-26 02:11:32 -05009PROVIDES += "virtual/phosphor-ipmi-fru-merge-config"
Ed Tanous9936f862022-09-19 09:13:20 -070010PR = "r1"
11
12inherit phosphor-ipmi-host
13inherit native
Marri Devender Rao53c55032017-07-26 02:11:32 -050014
Patrick Williams12fc9392021-08-06 09:16:53 -050015do_install:append() {
Marri Devender Rao53c55032017-07-26 02:11:32 -050016 SRC=${config_datadir}
17 DEST=${D}${config_datadir}
18 install -d ${DEST}
Patrick Williamsdc6bf152023-07-19 11:19:54 -050019 cat ${SRC}/config.yaml > ${DEST}/fru_config.yaml
Marri Devender Rao53c55032017-07-26 02:11:32 -050020}