| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Time manager tries to read time settings from settings daemon and
in the case it fails, it would set NTP as default mode and BMC
as default owner. Doing this was prohibiting Host from setting the
time and it was seen as a concern having to reboot to set the time
post changing the setting.
Making default owner to BOTH will make sure that HOST / BMC can set
the time. Having mode as MANUAL comes as a need since setting the
time having mode as NTP results in failure.
Fixes openbmc/phosphor-time-manager#2
Change-Id: I491213a8fc2f6d4e1a373d436cb926ad79f44d22
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
| |
Change-Id: I6003829eaee5330ff62b239166be428b4ff43991
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I000bc7fabce20e51fe7b31da7a654afc5eba9c9f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I90c85fb44441a0df548b532c466b2797cbb9fc46
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Id2852a3a4dd48a59a37b847d97cc5de158335a82
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
| |
operator<< (for iostream) has higher precidence than terinary
operator. Therefore, 'cout << foo ? 1 : 2' would be evaluated
as '(cout << foo) ? 1 : 2' which is always true.
Add parens to ensure the correct evaluation order.
Change-Id: I24ce991ec934c35ca2b244677cacb1a5a738ad76
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I0f63bc9d4d03e901af0879843994c30104dca23d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
| |
Unused result from 'system' call.
Change-Id: I4f62e82ce51aaa86730aa45553f55d2241fc66f8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I0715a93dd97d6047e85ead7e64d3dabcc314bd98
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Time Manager daemon supporting NTP and MANUAL modes and below policy
*) BMC owns the time
*) HOST owns the time
*) SPLIT clock and HOST's time is maintained as an offset to BMC
*) BOTH the BMC and HOST own the clock
Change-Id: I81701b67731aa4b37d6926d5b93d397fea96e086
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|