|
From: David G. <dga...@gm...> - 2018-08-09 06:35:49
|
2018-08-08 16:23 GMT+02:00 Thorsten Otto <ad...@th...>: > On Mittwoch, 8. August 2018 12:28:33 CEST David Gálvez wrote: >> This is with tzinit and a kernel fresh compiled from github sources, >> running on Aranym with the option "GMTime" set. > > Your are right, seems to have to do with the setting of the GMTime option in > aranym. Does not drift if i set it, and use tzinit -u instead. Hmm. Have to > think about that again. > I can't replicate either the drift issue here if I unset GMTime in Aranym and if I set the kernel in localtime mode, it must there be still something different between our systems. In the mean time I have found the reason why tzinit wasn't setting the kernel timezone. Macro TM_GTMOFF was not defined in the file tz/localtime.c use to build tzinit binary: https://github.com/freemint/mintlib/blob/40caa38b3d4e5cd9dc1819e4d5e4e39de97618e0/tz/localtime.c#L1594 but it's defined for the other source files though: https://github.com/freemint/mintlib/blob/40caa38b3d4e5cd9dc1819e4d5e4e39de97618e0/tz/Makefile#L45 I'm still thinking how to fix this nicely I'd like to avoid defining TM_GTMOFF in two different places. Besides the previous problems there are still some more things to fix: root@aranym040:~> date Thu Aug 9 08:25:00 CEST 2018 root@aranym040:~> tzinit Current date and time: Thu Aug 9 08:25:04 2018 Time zone in use: (null) East of Greenwich Mean Time: 2:00:00 Kernel clock mode: UTC "Time zone in use" output in tzinit is still null for me, it should be CEST. |