summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-24 10:25:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-24 10:25:40 +0000
commite6230da00e3927cc7db006234a3deb536b9ef327 (patch)
treef8f1165a79a4a993d8a6c07e5f52ea7748870413 /meta/classes/image.bbclass
parent5aca6a7e940d2d0878279b47db0c399d92d5b4f6 (diff)
downloadpoky-e6230da00e3927cc7db006234a3deb536b9ef327.tar.gz
image.bbclass: Ensure timestamp matches format used in initscripts after recent changes
(From OE-Core rev: 173a48f79f8f2f18737f1901fc5992223d456348) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 3034725ac2..c6a7319ea8 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -337,7 +337,7 @@ set_image_autologin () {
337# Can be use to create /etc/timestamp during image construction to give a reasonably 337# Can be use to create /etc/timestamp during image construction to give a reasonably
338# sane default time setting 338# sane default time setting
339rootfs_update_timestamp () { 339rootfs_update_timestamp () {
340 date -u +%2m%2d%2H%2M%4Y >${IMAGE_ROOTFS}/etc/timestamp 340 date -u +%4Y%2m%2d%2H%2M >${IMAGE_ROOTFS}/etc/timestamp
341} 341}
342 342
343# Prevent X from being started 343# Prevent X from being started