Marri Devender Rao | 53c5503 | 2017-07-26 02:11:32 -0500 | [diff] [blame] | 1 | SUMMARY = "To merge the Host and BMC config files generated from MRW " |
Nagaraju Goruganti | 0a01e9f | 2018-04-01 07:56:47 -0500 | [diff] [blame] | 2 | DESCRIPTION = "Merge host provided FRU info config file, fru info config, \ |
| 3 | which is not sent by host config, and BMC accessible FRU info config \ |
| 4 | files generated by gen-ipmi-fru.pl into a single config file. \ |
| 5 | fru-gen parser parses the merged config file and generates cpp file" |
Brad Bishop | 75f0387 | 2018-11-03 09:41:57 -0700 | [diff] [blame] | 6 | LICENSE = "Apache-2.0" |
Brad Bishop | 6f3f0aa | 2019-09-13 12:14:05 -0400 | [diff] [blame] | 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Marri Devender Rao | 53c5503 | 2017-07-26 02:11:32 -0500 | [diff] [blame] | 8 | DEPENDS += "virtual/phosphor-ipmi-fru-read-inventory" |
| 9 | DEPENDS += "virtual/phosphor-ipmi-fru-read-bmc-inventory" |
Nagaraju Goruganti | 0a01e9f | 2018-04-01 07:56:47 -0500 | [diff] [blame] | 10 | DEPENDS += "virtual/phosphor-ipmi-fru-read-not-sent-by-host-inventory" |
Marri Devender Rao | 53c5503 | 2017-07-26 02:11:32 -0500 | [diff] [blame] | 11 | PROVIDES += "virtual/phosphor-ipmi-fru-merge-config" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame^] | 12 | PR = "r1" |
| 13 | |
| 14 | inherit phosphor-ipmi-host |
| 15 | inherit native |
Marri Devender Rao | 53c5503 | 2017-07-26 02:11:32 -0500 | [diff] [blame] | 16 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 17 | do_install:append() { |
Marri Devender Rao | 53c5503 | 2017-07-26 02:11:32 -0500 | [diff] [blame] | 18 | SRC=${config_datadir} |
| 19 | DEST=${D}${config_datadir} |
| 20 | install -d ${DEST} |
| 21 | cat ${SRC}/config.yaml ${SRC}/bmc-fru-config.yaml > ${DEST}/fru_config.yaml |
Nagaraju Goruganti | 0a01e9f | 2018-04-01 07:56:47 -0500 | [diff] [blame] | 22 | cat ${SRC}/fru-config-not-sent-by-host.yaml >> ${DEST}/fru_config.yaml |
Marri Devender Rao | 53c5503 | 2017-07-26 02:11:32 -0500 | [diff] [blame] | 23 | } |