From: Richard Purdie Date: Fri, 24 Feb 2012 10:25:30 +0000 (+0000) Subject: image.bbclass: Ensure timestamp matches format used in initscripts after recent changes X-Git-Tag: 2015-4~11675 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=173a48f79f8f2f18737f1901fc5992223d456348;p=openembedded-core.git image.bbclass: Ensure timestamp matches format used in initscripts after recent changes Signed-off-by: Richard Purdie --- 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