tlsdate: Save user manually set time to disk
Some enterprise network only support NTP protocol which make
tlsdate never get time synced via network. As tlsdate currently
flags all non-network source of time to not sync to disk. This
will make time to be incorrect when RTC lost power.
This CL make tlsdate to also sync time from platform to disk to
solve this issue.
TEST=manual. Set time, remove battery, time still correct after boot.
Signed-off-by: Puthikorn Voravootivat <firstname.lastname@example.org>
Reviewed-by: Dan Erat <email@example.com>
Reviewed-by: Jorge Lucangeli Obes <firstname.lastname@example.org>
1 file changed