On 26 April 2010 20:21, Martin Langhoff <martin.langh...@gmail.com> wrote: > I am porting some awkward patches I have against the old olpc > initramfs to the new dracut-based, all bling initramfs. > > The python part is mostly done, but the fun part is that we're trying > to set the clock (both system clock and rtc) based on network > messages. > > The general approach in our initramfs when we need some specific calls > to potent magic hidden (as we often do in our voodoo initramfsen) is > to unleash The Power of Pyrex. So that's what I plan to do.
I wouldn't have thought pyrex is necessary. I suggest using fnctl.ioctl() for RTC_SET_TIME, and ctypes for settimeofday(). Daniel _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel