[poky] Inconsistent timestamp use

Gary Thomas gary at mlbassoc.com
Wed Nov 3 06:58:38 PDT 2010


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!)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Make-etc-timestamp-usage-consistent-for-machines-w.patch
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20101103/4bd9ad2b/attachment.ksh>


More information about the poky mailing list