Bug 3278

Summary: lsbsetup overwrites /etc/localtime
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Marc Ferland <marc.ferland>
Component: coreAssignee: Kai Kang <kai.kang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: kai.kang, meta.mr.watcher, meta.watcher, sgw, yi.zhao, zhenfeng.zhao
Version: 1.2.1   
Target Milestone: 1.4 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Marc Ferland 2012-10-11 15:37:42 UTC
I have an image which installs task-core-lsb. This task includes the lsbsetup recipe which, for some reason, overwrites the localtime with HongKong time.

Reading ticket #1079 it seems like this was a workaround because of a bug in the mbsrtowcs function.

The real fix would be to fix the mbsrtowcs function and drop the link to HongKong time.
Comment 1 Kai Kang 2012-12-06 06:40:25 UTC
Fixed by Yocto commit:
9f836a4595dc4524ebd95db02165ef28dda51010
Comment 2 Yi Zhao 2012-12-13 08:25:02 UTC
Verified with 1.4_M1.

Branch: 1.4_M1
Tag: 1.4_M1.rc1
Commits:
poky: 247b6a3754c2c50318e2a73d79981ba0e9cb560b