summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Default Mode and Owner to MANUAL and BOTH respectivelyVishwanatha Subbanna2017-07-051-4/+4
| | | | | | | | | | | | | | | | | 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>
* Halt configure step on libmapper missingMatthew Barth2016-11-091-1/+1
| | | | | Change-Id: I6003829eaee5330ff62b239166be428b4ff43991 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* automake: update bootstrap.sh and configure.ac with latest templatePatrick Williams2016-11-092-4/+36
| | | | | Change-Id: I000bc7fabce20e51fe7b31da7a654afc5eba9c9f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* time-manager: fix warning for unused variablesPatrick Williams2016-11-091-3/+0
| | | | | Change-Id: I90c85fb44441a0df548b532c466b2797cbb9fc46 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* time-config: fix warning for missing return in non-void functionPatrick Williams2016-11-091-2/+9
| | | | | Change-Id: Id2852a3a4dd48a59a37b847d97cc5de158335a82 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* time-config: fix warning on no-effect conditionalPatrick Williams2016-11-091-1/+1
| | | | | | | | | | | 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>
* time-config: fix warning for incorrect constructor orderPatrick Williams2016-11-091-2/+2
| | | | | Change-Id: I0f63bc9d4d03e901af0879843994c30104dca23d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* time-config: fix compile warningPatrick Williams2016-11-091-2/+2
| | | | | | | Unused result from 'system' call. Change-Id: I4f62e82ce51aaa86730aa45553f55d2241fc66f8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Reduce explicit template parameters in writeDataPatrick Williams2016-11-093-14/+7
| | | | | Change-Id: I0715a93dd97d6047e85ead7e64d3dabcc314bd98 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add TimeManager daemon to openbmcVishwanatha2016-11-099-0/+2212
| | | | | | | | | | | | 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>
* Initial commitPatrick Williams2016-08-251-0/+201
OpenPOWER on IntegriCloud