Bug 265

Summary: "date: invalid date xxxx" error at every boot
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Kevin Tian <kevin.tian>
Component: meta-yoctoAssignee: Kevin Tian <kevin.tian>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Low CC: gary, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 1.0 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

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