[Toybox] hwclock & rtcwake expect /etc/adjtime to exist

Patrick Oppenlander patrick.oppenlander at gmail.com
Wed Oct 14 18:53:03 PDT 2020


Hi,

A colleague of mine noticed that after a recent toybox update hwclock
now expects /etc/adjtime to be present. Previously it used to assume
UTC if /etc/adjtime is not present which is consistent with
util-linux.

I've attached patches which address this issue in hwclock and rtcwake.

Regards,

Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-rtcwake-default-to-UTC-if-etc-adjtime-can-t-be-read.patch
Type: text/x-patch
Size: 889 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201015/7eb85d1d/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-hwclock-default-to-UTC-if-etc-adjtime-can-t-be-read.patch
Type: text/x-patch
Size: 897 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201015/7eb85d1d/attachment-0005.bin>


More information about the Toybox mailing list