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>
This commit is contained in:
Richard Purdie 2012-02-24 10:25:30 +00:00
parent 5aca6a7e94
commit e6230da00e
1 changed files with 1 additions and 1 deletions

View File

@ -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