On Wed, 19 Oct 2016 22:05:43 +0200 Petr Štetiar <yn...@true.cz> wrote:
> Felix Fietkau <n...@nbd.name> [2016-10-19 21:44:06]: > > > I'd like to know why you need to use local time for the RTC, I think > > that's rather uncommon. > > You mean system time in local time, right? RTC should be in UTC and > in current sysftime isn't. Basically sysfixtime should be using > hwclock with -u parameter from the same beginning as the kernel > doesn't expect time in RTC to be in other timezone. > > Believe it or not, I've some users which are used to have system time > on their desktop Linux machines in local timezone and they expect the > same from the Linux on embedded devices. It's hard, I know :-) Have you ever looked at UCI config for /etc/config/system? There is the option to set the system timezone there. No need to hack hwclock. Regards, Daniel _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev