diff options
author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-12-08 00:38:17 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-12-08 00:38:17 +0300 |
commit | 8d6ae7f2a817751fad151168fa10ce28ee0869d8 (patch) | |
tree | 281032f7ec07c41589aa094bd165cc2a98f2d3a7 /meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend | |
parent | c16fb8893b19075db4bcf3b5bf33c1db8c3ca2bd (diff) | |
parent | 5da3c2284560a7e08ffafd03c5b5ba44a3242228 (diff) | |
download | openbmc-8d6ae7f2a817751fad151168fa10ce28ee0869d8.tar.xz |
Merge tag '0.26' 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 | 21 |
1 files changed, 18 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 814699c76..94f1b10a4 100644 --- a/meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend +++ b/meta-ibm/recipes-phosphor/dump/phosphor-debug-collector_%.bbappend @@ -1,14 +1,18 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" -PACKAGECONFIG_append_witherspoon-128 = " host-dump-offload-pldm" PACKAGECONFIG_append_rainier = " host-dump-offload-pldm" PACKAGECONFIG_append_witherspoon-tacoma = " host-dump-offload-pldm" +PACKAGECONFIG_append_rainier = " openpower-dumps-extension" +PACKAGECONFIG_append_witherspoon-tacoma = " openpower-dumps-extension" + SRC_URI += "file://plugins.d/ibm_elogall" +SRC_URI += "file://plugins.d/pels" install_ibm_plugins() { install -m 0755 ${WORKDIR}/plugins.d/ibm_elogall ${D}${dreport_plugin_dir} + install -m 0755 ${WORKDIR}/plugins.d/pels ${D}${dreport_plugin_dir} } @@ -18,7 +22,18 @@ python link_ibm_plugins() { workdir = d.getVar('WORKDIR', True) script = os.path.join(workdir, 'plugins.d', 'ibm_elogall') install_dreport_user_script(script, d) + + script = os.path.join(workdir, 'plugins.d', 'pels') + install_dreport_user_script(script, d) } -do_install[postfuncs] += "install_ibm_plugins" -do_install[postfuncs] += "link_ibm_plugins" +#Install dump header script from dreport/ibm.d to dreport/include.d +install_dreport_header() { + install -d ${D}${dreport_include_dir} + install -m 0755 ${S}/tools/dreport.d/ibm.d/* ${D}${dreport_include_dir}/ +} + +IBM_INSTALL_POSTFUNCS = "install_ibm_plugins link_ibm_plugins" +IBM_INSTALL_POSTFUNCS_rainier += "install_dreport_header" + +do_install[postfuncs] += "${IBM_INSTALL_POSTFUNCS}" |