]> CyberLeo.Net >> Repos - CDN/Mosi.git/commit
targets/amd64/SS4200: add patch to detect and mitigate clockskew issues on boot
authorCyberLeo <cyberleo@cyberleo.net>
Fri, 6 May 2011 17:43:57 +0000 (12:43 -0500)
committerCyberLeo <cyberleo@cyberleo.net>
Sat, 7 May 2011 14:08:47 +0000 (09:08 -0500)
commitab6da336e8b66c33256bcb3c952d86861a3c7f68
tree5cfc360d5d349b112d7b5dc274fc89ea23f66f12
parent5e0d93d7f6bf382f2876656d3c8a97ff9a5a4a14
targets/amd64/SS4200: add patch to detect and mitigate clockskew issues on boot

If the machine's clock is reset to before the firmware image was
assmbled (bad cmos battery), a subsequent save will wipe out all changes
made since boot, as those files will be dated prior to the anchor file.
This patch detects that condition as soon as the /conf filesystem is
moutned, and force-sets the clock to a time 60 seconds after the most
recent mtime of the anchor file, the base confpack, or the saved
confpack (/conf/default).
targets/amd64/SS4200/config/patch/etc_rc.initdiskless-fix-clockskew.patch [new file with mode: 0644]