From 4e0b734fd2130edc902036dff43b4a684fec8761 Mon Sep 17 00:00:00 2001 From: Hao Jiang Date: Tue, 25 May 2021 16:08:02 -0700 Subject: 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 Change-Id: I94fec8a9c8eefb7dfaa327452ca453e132c0c140 --- .../timemanager-default-HOST-MANUAL.override.yml | 6 ++++++ .../recipes-phosphor/settings/phosphor-settings-manager_%.bbappend | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 meta-google/recipes-phosphor/settings/phosphor-settings-manager/timemanager-default-HOST-MANUAL.override.yml create mode 100644 meta-google/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend (limited to 'meta-google') 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 0000000000..77c0dff086 --- /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 0000000000..46d11234e2 --- /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" -- cgit v1.2.3