summaryrefslogtreecommitdiff
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:30 +0000
commit173a48f79f8f2f18737f1901fc5992223d456348 (patch)
treef71e8699e23c4d25c202e9d6bd5c86c8955899ed /meta/classes/image.bbclass
parenta1f23a7cc527afdd1ce6cc7cd6083ee78fde09b3 (diff)
downloadopenembedded-core-173a48f79f8f2f18737f1901fc5992223d456348.tar.gz
openembedded-core-173a48f79f8f2f18737f1901fc5992223d456348.tar.bz2
openembedded-core-173a48f79f8f2f18737f1901fc5992223d456348.zip
image.bbclass: Ensure timestamp matches format used in initscripts after recent changes
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 () {
# Can be use to create /etc/timestamp during image construction to give a reasonably
# sane default time setting
rootfs_update_timestamp () {
- date -u +%2m%2d%2H%2M%4Y >${IMAGE_ROOTFS}/etc/timestamp
+ date -u +%4Y%2m%2d%2H%2M >${IMAGE_ROOTFS}/etc/timestamp
}
# Prevent X from being started