[poky] Inconsistent timestamp use

Mark Hatle mark.hatle at windriver.com
Wed Nov 3 08:05:38 PDT 2010


I was wondering why that wasn't working before.

It was also mentioned to me by someone at CELF that a lot of devices check the 
superblock times to set their clocks as well.  I don't know if Poky has this 
behavior, but if it does that is not working either.

--Mark

On 11/3/10 8:58 AM, Gary Thomas wrote:
> The Poky root file system (init scripts) has a mechanism for
> supporting systems without a working hardware [time of day] clock.
> It seems that this has suffered some rot recently and is now
> quite inconsistent:
>     * rootfs_update_timestamp() uses a different format for the time stamp
>     * the init scripts look for /etc/timestamp2, not /etc/timestamp which
>       is created with the image
>
> The attached patch makes this consistent and the system clock now works
> much better (about as good as a machine without a hardware clock can!)
>




More information about the poky mailing list