summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-google/recipes-phosphor/settings/phosphor-settings-manager/timemanager-default-HOST-MANUAL.override.yml6
-rw-r--r--meta-google/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend5
2 files changed, 11 insertions, 0 deletions
diff --git a/meta-google/recipes-phosphor/settings/phosphor-settings-manager/timemanager-default-HOST-MANUAL.override.yml b/meta-google/recipes-phosphor/settings/phosphor-settings-manager/timemanager-default-HOST-MANUAL.override.yml
new file mode 100644
index 000000000..77c0dff08
--- /dev/null
+++ b/meta-google/recipes-phosphor/settings/phosphor-settings-manager/timemanager-default-HOST-MANUAL.override.yml
@@ -0,0 +1,6 @@
+---
+/xyz/openbmc_project/time/sync_method:
+ - Interface: xyz.openbmc_project.Time.Synchronization
+ Properties:
+ TimeSyncMethod:
+ Default: Synchronization::Method::Manual
diff --git a/meta-google/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend b/meta-google/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend
new file mode 100644
index 000000000..46d11234e
--- /dev/null
+++ b/meta-google/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend
@@ -0,0 +1,5 @@
+#Override the default time settings from BMC/NTP to Host/Manual, so that host
+#can set BMC time via an IPMI command.
+
+FILESEXTRAPATHS_append_gbmc := ":${THISDIR}/${PN}"
+SRC_URI_append_gbmc = " file://timemanager-default-HOST-MANUAL.override.yml"