Bug 265 - "date: invalid date xxxx" error at every boot
Summary: "date: invalid date xxxx" error at every boot
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Low normal
Target Milestone: 1.0 M1
Assignee: Kevin Tian
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-09-03 01:27 UTC by Kevin Tian
Modified: 2011-01-18 06:08 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Tian 2010-09-03 01:27:14 UTC
it should be about how format should be provided to date...
Comment 1 Kevin Tian 2010-09-05 23:54:11 UTC
fixed by 41d02d40ed83c791e7a4c1d57d829d706af42e74
Comment 2 Kevin Tian 2010-09-05 23:54:38 UTC
verified this warning disappears when launching the guest
Comment 3 Saul Wold 2010-11-03 10:38:19 UTC
This is being reopened since the fix was not completely correct, there are a couple of places where date is used to setup the /etc/timestamp.

Both the coreutils.date and busybox.date will accept the +%2m%2d%2H%2H%Y format without the -s option.

The following places need to be fixed:
meta/classes/image.bbclass
meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh
meta/recipes-core/initscripts/initscripts-1.0/save-rtc.sh

Reference: Gary Thomas
Comment 4 Kevin Tian 2011-01-18 06:08:39 UTC
fixed by 2078af333d704fd894a2dedbc19cef5775cdadbb by Gary