Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-07-13 Thread Finn Thain
On Sat, 13 Jul 2019, Alexandre Belloni wrote: > On 26/06/2019 14:42:31+1000, Finn Thain wrote: > > > Userspace is certainly adjusting the timezone after the kernel did. > > > Can you run the same commands without running your init? > > > > > > > Sure. I booted into /bin/sh instead of

Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-07-13 Thread Alexandre Belloni
On 26/06/2019 14:42:31+1000, Finn Thain wrote: > > Userspace is certainly adjusting the timezone after the kernel did. Can > > you run the same commands without running your init? > > > > Sure. I booted into /bin/sh instead of /sbin/init then mounted /proc and > /dev, and got this: > > #

Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-06-25 Thread Finn Thain
On Tue, 25 Jun 2019, Alexandre Belloni wrote: > On 25/06/2019 11:53:49+1000, Finn Thain wrote: > > On Mon, 24 Jun 2019, Alexandre Belloni wrote: > > > > > On 21/06/2019 11:51:26+1000, Finn Thain wrote: > > > > Some machines store local time in the Real Time Clock. The > > > > hard-coded "UTC"

Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-06-25 Thread Trent Piepho
On Tue, 2019-06-25 at 21:19 +0200, Alexandre Belloni wrote: > On 25/06/2019 17:16:52+, Trent Piepho wrote: > > On Tue, 2019-06-25 at 11:29 +0200, Alexandre Belloni wrote: > > > Userspace is certainly adjusting the timezone after the kernel did. Can > > > you run the same commands without

Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-06-25 Thread Alexandre Belloni
On 25/06/2019 17:16:52+, Trent Piepho wrote: > On Tue, 2019-06-25 at 11:29 +0200, Alexandre Belloni wrote: > > Userspace is certainly adjusting the timezone after the kernel did. Can > > you run the same commands without running your init? > > > > On stable, you have /etc/init.d/hwclock.sh

Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-06-25 Thread Trent Piepho
On Tue, 2019-06-25 at 11:29 +0200, Alexandre Belloni wrote: > > > Userspace is certainly adjusting the timezone after the kernel did. Can > you run the same commands without running your init? > > On stable, you have /etc/init.d/hwclock.sh that still runs and does the > correct thing. My

Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-06-25 Thread Alexandre Belloni
On 25/06/2019 11:53:49+1000, Finn Thain wrote: > On Mon, 24 Jun 2019, Alexandre Belloni wrote: > > > On 21/06/2019 11:51:26+1000, Finn Thain wrote: > > > Some machines store local time in the Real Time Clock. The hard-coded > > > "UTC" string is wrong on those machines so just omit that string.

Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-06-24 Thread Finn Thain
On Mon, 24 Jun 2019, Alexandre Belloni wrote: > On 21/06/2019 11:51:26+1000, Finn Thain wrote: > > Some machines store local time in the Real Time Clock. The hard-coded > > "UTC" string is wrong on those machines so just omit that string. > > Update the log parser so it doesn't require the

Re: [PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-06-24 Thread Alexandre Belloni
On 21/06/2019 11:51:26+1000, Finn Thain wrote: > Some machines store local time in the Real Time Clock. The hard-coded > "UTC" string is wrong on those machines so just omit that string. > Update the log parser so it doesn't require the string "UTC". > I don't agree, hctossys will always think

[PATCH] rtc: Don't state that the RTC holds UTC in case it doesn't

2019-06-20 Thread Finn Thain
Some machines store local time in the Real Time Clock. The hard-coded "UTC" string is wrong on those machines so just omit that string. Update the log parser so it doesn't require the string "UTC". Signed-off-by: Finn Thain --- drivers/rtc/hctosys.c | 2 +-