olpcrd: during activation set RTC

Martin Langhoff martin.langhoff at gmail.com
Thu Jun 4 14:23:59 EDT 2009


I've just pushed to
http://dev.laptop.org/git/users/martin/olpcrd-rootskel.git an update
that teaches the initrd to ask the server for a signed time, and reset
its RTC to it.

This tests well with the clock wildly ahead and wildly behind -- I'm
hopeful that it'll help with RTC problems in the field.

For the patches to work,  busybox-udeb needs to get rebuilt with
hwclock and date commands. Attempts to slip in the actual hwclock and
date binaries from lenny didn't work -- they seem be incompatible with
the libc (from libc6-udev).

More details in the commit message and diff:
http://dev.laptop.org/git/users/martin/olpcrd-rootskel.git/commit/?id=73a7df8edaeaaf6654032b235d7c59c054e004b6

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list