summaryrefslogtreecommitdiff
path: root/meta-google/recipes-phosphor
diff options
context:
space:
mode:
authorHao Jiang <jianghao@google.com>2021-05-26 02:08:02 +0300
committerHao Jiang <jianghao@google.com>2021-05-26 02:45:36 +0300
commit4e0b734fd2130edc902036dff43b4a684fec8761 (patch)
tree5fac6596b626e2e91a3b2587e82db8e08518a28e /meta-google/recipes-phosphor
parent8e5af983877701ffd5ba6d8c4751853e0e65a942 (diff)
downloadopenbmc-4e0b734fd2130edc902036dff43b4a684fec8761.tar.xz
phosphor-settings: Change setting for time manager
Change the default time settings for all google servers to Host/Manual so that timedate can be set via IPMI commands. Signed-off-by: Hao Jiang <jianghao@google.com> Change-Id: I94fec8a9c8eefb7dfaa327452ca453e132c0c140
Diffstat (limited to 'meta-google/recipes-phosphor')
-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"