On Wed, Apr 28, 2010 at 8:32 AM, Daniel Drake <[email protected]> wrote:
> I wouldn't have thought pyrex is necessary. I suggest using
> fnctl.ioctl() for RTC_SET_TIME, and ctypes for settimeofday().

Our chvt() is in pyrex, and all it does is call ioctl() on
/dev/console. If there's a better way to call ioctl() then we can get
rid of pyrex in our initramfs completely.

In the meantime, I am following the approach already in use in our
initramfs, and Hal Murray's posted in private a very nice pyrex
wrapper around those two that I plan to test/merge/use today.

cheers,


m
-- 
 [email protected]
 [email protected] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to