Closed troglobit closed 2 weeks ago
Since the system clock is only saved to the RTC on controlled shutdown/reboot, it would be very useful to have the NTP client update the RTC when enabled.
Chrony has both rtcsync and rtcautotrim <threshold>, both seem like reasonable candidates.
rtcsync
rtcautotrim <threshold>
We already have rtcsync enabled by default.
https://github.com/kernelkit/infix/blob/fbddedb51ba2d11aeca123f4023e8002a10ab473/board/common/rootfs/etc/chrony/chrony.conf#L21-L23
Since the system clock is only saved to the RTC on controlled shutdown/reboot, it would be very useful to have the NTP client update the RTC when enabled.
Chrony has both
rtcsync
andrtcautotrim <threshold>
, both seem like reasonable candidates.