meta-ibm: Add send_event_logs_to_host setting
This will be used so that during manufacturing test the PEL (Platform
Event Log) code that runs inside phosphor-log-manager can be told not to
send PELs to the host as that is not desired in some cases.
The D-Bus path is: /xyz/openbmc_project/logging/send_event_logs_to_host
and it uses the xyz.openbmc_project.Object.Enable interface that
provides an Enabled property. The default value is Enabled = true.
(From meta-ibm rev: 42cd2d857eb1d1c4ae6fdd8c9ee6c3c8de5ef7a0)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I9cab4f1c1efdda3a6d3f6f38f7c3e19690f452c2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/ibm_settings.override.yml b/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/ibm_settings.override.yml
new file mode 100644
index 0000000..33a1ec7
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/ibm_settings.override.yml
@@ -0,0 +1,5 @@
+/xyz/openbmc_project/logging/send_event_logs_to_host:
+ - Interface: xyz.openbmc_project.Object.Enable
+ Properties:
+ Enabled:
+ Default: 'true'
diff --git a/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend b/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend
new file mode 100644
index 0000000..9dd3575
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+SRC_URI_append = " file://ibm_settings.override.yml"