On Wed, Apr 28, 2010 at 8:32 AM, Daniel Drake <d...@laptop.org> 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
-- 
 martin.langh...@gmail.com
 mar...@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
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to