mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
initscripts: save /etc/timestamp with seconds accuracy
Currently, /etc/timestamp is saved with minutes accuracy. To increase the accuracy, modify the save-rtc.sh and bootmisc.sh scripts to save and read /etc/timestamp respectively with seconds accuracy. (From OE-Core rev: 8fed53e4e72230c61f23cb36eda36c228aede1e0) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b573ae8011
commit
00017b4dd8
@@ -10,4 +10,4 @@
|
||||
### END INIT INFO
|
||||
|
||||
# Update the timestamp
|
||||
date -u +%4Y%2m%2d%2H%2M > /etc/timestamp
|
||||
date -u +%4Y%2m%2d%2H%2M%2S > /etc/timestamp
|
||||
|
||||
Reference in New Issue
Block a user