diff options
author | George Liu <liuxiwei@inspur.com> | 2019-07-03 12:54:00 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-07-04 14:54:33 +0300 |
commit | 0a7050e7075f19c1a50f77702bd35df776aee19b (patch) | |
tree | 56c06f675146f99ce15b6cf7f9420a82519e8187 /meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config.bb | |
parent | b60b709541be37d1d58b9b3942095b4a579d22ab (diff) | |
download | openbmc-0a7050e7075f19c1a50f77702bd35df776aee19b.tar.xz |
fp5280g2: Add ipmi yaml configs
Add ipmi configs for fp5280g2, by adding the following specific configs
for fp5280g2 to replace the default ones.
openpower-ipmi-oem
phosphor-ipmi-host
phosphor-ipmi-fru
Tested: Manually verified sensor, fru and sel are corrected on
fp5280g2 via ipmitool commands.
(From meta-inspur rev: 0adbf56907286b14f34b25335cc84815189cf128)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I67995cba5793d4f6a45b9912bc7e03d2ce5d8759
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config.bb')
-rw-r--r-- | meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config.bb b/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config.bb new file mode 100644 index 000000000..147f30988 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config.bb @@ -0,0 +1,38 @@ +SUMMARY = "YAML configuration for FP5280G2" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${INSPURBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" + +inherit allarch + +SRC_URI = " \ + file://fp5280g2-ipmi-fru.yaml \ + file://fp5280g2-ipmi-fru-bmc.yaml \ + file://fp5280g2-ipmi-fru-properties.yaml \ + file://fp5280g2-ipmi-inventory-sensors.yaml \ + file://fp5280g2-ipmi-sensors.yaml \ + " + +S = "${WORKDIR}" + +do_install() { + cat fp5280g2-ipmi-fru.yaml fp5280g2-ipmi-fru-bmc.yaml > fru-read.yaml + + install -m 0644 -D fp5280g2-ipmi-fru-properties.yaml \ + ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml + install -m 0644 -D fru-read.yaml \ + ${D}${datadir}/${BPN}/ipmi-fru-read.yaml + install -m 0644 -D fp5280g2-ipmi-inventory-sensors.yaml \ + ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml + install -m 0644 -D fp5280g2-ipmi-sensors.yaml \ + ${D}${datadir}/${BPN}/ipmi-sensors.yaml +} + +FILES_${PN}-dev = " \ + ${datadir}/${BPN}/ipmi-extra-properties.yaml \ + ${datadir}/${BPN}/ipmi-fru-read.yaml \ + ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \ + ${datadir}/${BPN}/ipmi-sensors.yaml \ + " + +ALLOW_EMPTY_${PN} = "1" |