blob: a0095264ed9520fe5f8e62f5ac6a7e76c3bedf8b [file] [log] [blame]
Brad Bishop74c51e92018-11-05 20:47:38 -08001LICENSE = "Apache-2.0"
Brad Bishop07d2b9d2019-09-13 13:04:22 -04002LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Brad Bishop74c51e92018-11-05 20:47:38 -08003
Patrick Venture6c901082018-04-13 13:41:52 -07004inherit native
Patrick Venture6c901082018-04-13 13:41:52 -07005
6DEPENDS += "virtual/phosphor-ipmi-fru-inventory"
7PROVIDES += "virtual/phosphor-ipmi-fru-merge-config"
8
9# Put the fru_config in the right place with the right name.
10# Pull the IPMI FRU YAML config to use it in the IPMI HOST YAML.
David Wang026925d2021-08-13 11:39:20 +080011do_install:append() {
Patrick Venture6c901082018-04-13 13:41:52 -070012 IPMI_FRU_SRC=${datadir}/phosphor-ipmi-fru/config
13 IPMI_HOST_DEST=${D}${datadir}/phosphor-ipmi-host/config
14 install -d ${IPMI_HOST_DEST}
15 cat ${IPMI_FRU_SRC}/config.yaml > ${IPMI_HOST_DEST}/fru_config.yaml
16}