The timestamp-service recently was changed to work with the /etc/timestamp
format used during image creation time.
Comparing the timestamp with systemtime and storing system time to the file 
works.
Setting the system time from the timestamp fails because here
/etc/timestamp is used as if it was in the old format.

The patch applies to master and angstrom-v2014.06-yocto1.6.

I tested this on a meta-toradex image based on angstrom-v2014.06-yocto1.6.
With a missing /etc/timestamp or an older timestamp than system time does not
touch the systemtime, with a newer timestamp the system time is set to the 
timestamp.

Regards
Max

Max Krummenacher (1):
  timestamp-service: use new format also for writing

 recipes-core/systemd/timestamp-service/load-timestamp.sh | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

-- 
1.8.4.5


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to