On 07/09/16 13:07, Philip Withnall wrote:
On Sun, 2016-08-28 at 12:24 +0300, Slava Monich wrote:
> It’s more effort than I have time to put in at the moment, sorry.
> Hardcoding D-Bus APIs is (I believe) an acceptable approach, since the D-
> Bus API itself provides the indirection layer — the API can be implemented
> by any system process. The ‘fallback’ (/etc/localtime) should work in 90%
> of cases at the moment (as it always has done).
> Sailfish OS is using timed which has a D-Bus API of its own.
Unless I’ve misunderstood, Sailfish also uses systemd extensively — why not
Partly it's Meego legacy. Also I think systemd wasn't used by Sailfish
at the beginning, it appeared later in the game. Most importantly for a
mobile phone, timed is integrated with ofono, it can deduce current time
zone based on the network registration and handles NITZ updates from the
operator. On top of that, it maintains all kinds of alarms, e.g.
calendar and clock.
In any case, even if systemd-timedated can do all that too, it's too
much of an effort to take it out at this point.