summaryrefslogtreecommitdiff
path: root/meta-phosphor
diff options
context:
space:
mode:
authorCharles Boyer <Charles.Boyer@fii-usa.com>2021-11-22 19:43:16 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-04-13 00:09:22 +0300
commitdd3a9498e5b93c76defa541a3cf98a365cbfc308 (patch)
treecbd0eb7b164bc05ec5b30f3b0d5efa904137ef31 /meta-phosphor
parentf158d90b4351725c4bb87d2aec064a34ea14d044 (diff)
downloadopenbmc-dd3a9498e5b93c76defa541a3cf98a365cbfc308.tar.xz
phosphor-host-ipmid: Add option for sel-logger to clear SEL files
The phosphor-ipmi-host feature is added through, https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/47050 Add PACKAGECONFIG option to select whether the sel-logger package will be responsible for clearing the SEL to keep better track of the Record ID. If phosphor-ipmi-host clears the SEL, then sel-logger must check for the existence of the ipmi_sel.log file(s) and read the last used Record ID to determine the next Record ID. Enable sel-logger-clears-sel: sel-logger clears SEL and Record ID Disable sel-logger-clears-sel: phosphor-ipmi-host clears SEL By default, the option is disabled. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I0ffcaabece21f211f09309502372174bf18b97f5
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb
index bcaf6b5eac..819435f3ec 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host_git.bb
@@ -24,6 +24,7 @@ def ipmi_whitelists(d):
PACKAGECONFIG ??= ""
PACKAGECONFIG[dynamic-sensors] = "--enable-dynamic-sensors,--disable-dynamic-sensors"
PACKAGECONFIG[hybrid-sensors] = "--enable-hybrid-sensors,--disable-hybrid-sensors"
+PACKAGECONFIG[sel-logger-clears-sel] = "--enable-sel-logger-clears-sel,--disable-sel-logger-clears-sel"
DEPENDS += "autoconf-archive-native"
DEPENDS += "nlohmann-json"