diff options
author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-05-24 22:35:24 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-05-24 22:35:24 +0300 |
commit | 0e0df451ae365f09d5c0c766b253f23de26901f2 (patch) | |
tree | db4d7d3ce85e02ee01ad58a86ede02ac876aae77 /meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend | |
parent | e370fd750e2821620ec427f26f8efab0069824ff (diff) | |
parent | 7e10dee74964afa47859704886128dd256acf854 (diff) | |
download | openbmc-0e0df451ae365f09d5c0c766b253f23de26901f2.tar.xz |
Merge tag '0.52' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
Diffstat (limited to 'meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend')
-rw-r--r-- | meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend b/meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend index a134e350b..0cbca65aa 100644 --- a/meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend +++ b/meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend @@ -1,9 +1,9 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" -PACKAGECONFIG_append_rainier = " host-dump-transport-pldm" +PACKAGECONFIG_append_p10bmc = " host-dump-transport-pldm" PACKAGECONFIG_append_witherspoon-tacoma = " host-dump-transport-pldm" -PACKAGECONFIG_append_rainier = " openpower-dumps-extension" +PACKAGECONFIG_append_p10bmc = " openpower-dumps-extension" PACKAGECONFIG_append_witherspoon-tacoma = " openpower-dumps-extension" SRC_URI += "file://plugins.d/ibm_elogall" @@ -33,7 +33,20 @@ install_dreport_header() { install -m 0755 ${S}/tools/dreport.d/ibm.d/gendumpheader ${D}${dreport_include_dir}/ } +#Install ibm bad vpd script from dreport/ibm.d to dreport/plugins.d +install_ibm_bad_vpd() { + install -d ${D}${dreport_plugin_dir} + install -m 0755 ${S}/tools/dreport.d/ibm.d/badvpd ${D}${dreport_plugin_dir} +} + +#Link in the plugins so dreport run them at the appropriate time based on the plugin type +python link_ibm_bad_vpd() { + sourcedir = d.getVar('S', True) + script = os.path.join(sourcedir, "tools", "dreport.d", "ibm.d", "badvpd") + install_dreport_user_script(script, d) +} + IBM_INSTALL_POSTFUNCS = "install_ibm_plugins link_ibm_plugins" -IBM_INSTALL_POSTFUNCS_rainier += "install_dreport_header" +IBM_INSTALL_POSTFUNCS_p10bmc += "install_dreport_header install_ibm_bad_vpd link_ibm_bad_vpd" do_install[postfuncs] += "${IBM_INSTALL_POSTFUNCS}" |