commit | a65dc690f55680fd1a9a9f4354d566c16809956d | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Thu Oct 19 14:28:58 2017 -0700 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Dec 05 01:49:48 2017 +0000 |
tree | 0740fce56eeabdba2e9da9433f83dc6e569659ca | |
parent | 95ca32f6c5f2f239e817793face1d9d6cfacd079 [diff] |
meta-zaius: Synchronize time from host Add override YAMLs for both phosphor and legacy time daemons to have host to set BMC time. Change-Id: I3a2b258f229ad4e110c456bd7e08c0264e85d0f6 Signed-off-by: Xo Wang <xow@google.com>
diff --git a/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager.bbappend b/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager.bbappend index 5a54204..813a09d 100644 --- a/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager.bbappend +++ b/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager.bbappend
@@ -1,2 +1,3 @@ FILESEXTRAPATHS_append_zaius := ":${THISDIR}/${PN}" SRC_URI_append_zaius = " file://powerpolicy-default-ALWAYS_POWER_ON.override.yml" +SRC_URI_append_zaius = " file://timeowner-host-no-ntp.override.yml"
diff --git a/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager/timeowner-host-no-ntp.override.yml b/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager/timeowner-host-no-ntp.override.yml new file mode 100644 index 0000000..abb1316 --- /dev/null +++ b/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager/timeowner-host-no-ntp.override.yml
@@ -0,0 +1,12 @@ +--- +/xyz/openbmc_project/time/owner: + - Interface: xyz.openbmc_project.Time.Owner + Properties: + TimeOwner: + Default: Owner::Owners::Host + +/xyz/openbmc_project/time/sync_method: + - Interface: xyz.openbmc_project.Time.Synchronization + Properties: + TimeSyncMethod: + Default: Synchronization::Method::Manual
diff --git a/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend b/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend index 5a54204..813a09d 100644 --- a/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend +++ b/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend
@@ -1,2 +1,3 @@ FILESEXTRAPATHS_append_zaius := ":${THISDIR}/${PN}" SRC_URI_append_zaius = " file://powerpolicy-default-ALWAYS_POWER_ON.override.yml" +SRC_URI_append_zaius = " file://timeowner-host-no-ntp.override.yml"
diff --git a/meta-zaius/recipes-phosphor/settings/phosphor-settings/timeowner-host-no-ntp.override.yml b/meta-zaius/recipes-phosphor/settings/phosphor-settings/timeowner-host-no-ntp.override.yml new file mode 100644 index 0000000..fe404cf --- /dev/null +++ b/meta-zaius/recipes-phosphor/settings/phosphor-settings/timeowner-host-no-ntp.override.yml
@@ -0,0 +1,7 @@ +--- +org.openbmc.settings.Host: + settings: + TimeOwner: + default: "HOST" + TimeMode: + default: "MANUAL"