diff options
author | Duke Du <Duke.Du@quantatw.com> | 2019-03-25 12:13:18 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-03-27 18:11:21 +0300 |
commit | 6d763a2b604e62a9a9644b620ac0a24d1e09f493 (patch) | |
tree | 6691c765f9f8f51171cb198025571a3b624b8f89 /meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend | |
parent | a2fb177b40a0adb20b2c457011a115637136e133 (diff) | |
download | openbmc-6d763a2b604e62a9a9644b620ac0a24d1e09f493.tar.xz |
Quanta: configure fru parser
Update fru information of project gsj and test on gsj board pass.
(From meta-quanta rev: 4726abcab724b6e8a5abb5dca1603857a294ea97)
Change-Id: I3efbc10722f956c7375e1513bb71a39186c12cdd
Signed-off-by: Duke Du <Duke.Du@quantatw.com>
Signed-off-by: FranHsu <Fran.Hsu@quantatw.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend')
-rw-r--r-- | meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend new file mode 100644 index 000000000..0fb703bc0 --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend @@ -0,0 +1,20 @@ +inherit obmc-phosphor-systemd + +FILESEXTRAPATHS_prepend_gsj := "${THISDIR}/${PN}:" + +EEPROM_NAMES = "hsbp bmc" + +EEPROMFMT = "system/chassis/{0}" +EEPROM_ESCAPEDFMT = "system-chassis-{0}" +EEPROMS = "${@compose_list(d, 'EEPROMFMT', 'EEPROM_NAMES')}" +EEPROMS_ESCAPED = "${@compose_list(d, 'EEPROM_ESCAPEDFMT', 'EEPROM_NAMES')}" + +ENVFMT = "obmc/eeproms/{0}" +SYSTEMD_ENVIRONMENT_FILE_${PN}_append_gsj := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}" + +TMPL = "obmc-read-eeprom@.service" +TGT = "${SYSTEMD_DEFAULT_TARGET}" +INSTFMT = "obmc-read-eeprom@{0}.service" +FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}" + +SYSTEMD_LINK_${PN}_append_gsj := " ${@compose_list(d, 'FMT', 'EEPROMS_ESCAPED')}" |