Bug 3278 - lsbsetup overwrites /etc/localtime
Summary: lsbsetup overwrites /etc/localtime
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.2.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4 M1
Assignee: Kai Kang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-10-11 15:37 UTC by Marc Ferland
Modified: 2012-12-13 08:25 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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