commit | 1b9e06bf22861030c019589293429b9bfc68e5b1 | [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 | 26d806f62e2714e92e4fa038b6757fcc62432b1c | |
parent | 8958de256b2766f2ca66a30c7e9cadc5e55cc559 [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-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager.bbappend b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager.bbappend index 5a54204..813a09d 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/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-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings-manager/timeowner-host-no-ntp.override.yml b/meta-openbmc-machines/meta-openpower/meta-ingrasys/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-openbmc-machines/meta-openpower/meta-ingrasys/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-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend index 5a54204..813a09d 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/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-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings/timeowner-host-no-ntp.override.yml b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/settings/phosphor-settings/timeowner-host-no-ntp.override.yml new file mode 100644 index 0000000..fe404cf --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/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"