Re: [OE-core] how to set time zone

2011-11-03 Thread Andrea Adami
On Wed, Nov 2, 2011 at 8:15 PM, Mark Hatle wrote: > On 11/2/11 12:32 PM, Andrea Adami wrote: > > On Mon, Oct 31, 2011 at 1:44 AM, Ni Qingliang < > niqingli...@insigma.com.cn > > > wrote: > > > > I'd like the 'system level configuration' solution. > > > >

Re: [OE-core] how to set time zone

2011-11-02 Thread Ni Qingliang
thanks! :) On Thu, 2011-11-03 at 09:58 +0800, Philip Balister wrote: > On 11/02/2011 09:35 PM, Ni Qingliang wrote: > > what is "IMO"? > > "In my opinion" > > See http://www.internetslang.com/ > > I'm not suggesting reading the entire thing and using the slang in email > though :) > > Philip >

Re: [OE-core] how to set time zone

2011-11-02 Thread Philip Balister
On 11/02/2011 09:35 PM, Ni Qingliang wrote: > what is "IMO"? "In my opinion" See http://www.internetslang.com/ I'm not suggesting reading the entire thing and using the slang in email though :) Philip > > On Thu, 2011-11-03 at 09:19 +0800, Otavio Salvador wrote: >> On Wed, Nov 2, 2011 at 22:

Re: [OE-core] how to set time zone

2011-11-02 Thread Ni Qingliang
what is "IMO"? On Thu, 2011-11-03 at 09:19 +0800, Otavio Salvador wrote: > On Wed, Nov 2, 2011 at 22:47, Ni Qingliang wrote: > > maybe we can do the link in system booting, use the variable "TZ" to > > create the symlink /etc/localtime, just like archlinux. > > e.g. providing one script in /etc/r

Re: [OE-core] how to set time zone

2011-11-02 Thread Otavio Salvador
On Wed, Nov 2, 2011 at 22:47, Ni Qingliang wrote: > maybe we can do the link in system booting, use the variable "TZ" to > create the symlink /etc/localtime, just like archlinux. > e.g. providing one script in /etc/rcS.d/ to create the symlink. This ought to be done by image IMO; so a kind of pos

Re: [OE-core] how to set time zone

2011-11-02 Thread Ni Qingliang
maybe we can do the link in system booting, use the variable "TZ" to create the symlink /etc/localtime, just like archlinux. e.g. providing one script in /etc/rcS.d/ to create the symlink. On Thu, 2011-11-03 at 03:15 +0800, Mark Hatle wrote: > On 11/2/11 12:32 PM, Andrea Adami wrote: > > On Mon, O

Re: [OE-core] how to set time zone

2011-11-02 Thread Mark Hatle
On 11/2/11 12:32 PM, Andrea Adami wrote: > On Mon, Oct 31, 2011 at 1:44 AM, Ni Qingliang > wrote: > > I'd like the 'system level configuration' solution. > > the /etc/localtime/ link can be done when packaging rootfs (using the > system level config

Re: [OE-core] how to set time zone

2011-11-02 Thread Andrea Adami
On Mon, Oct 31, 2011 at 1:44 AM, Ni Qingliang wrote: > I'd like the 'system level configuration' solution. > > the /etc/localtime/ link can be done when packaging rootfs (using the > system level configuration). > > On Fri, 2011-10-28 at 22:43 +0800, Mark Hatle wrote: > > Setting the default TZ fo

Re: [OE-core] how to set time zone

2011-10-30 Thread Ni Qingliang
I'd like the 'system level configuration' solution. the /etc/localtime/ link can be done when packaging rootfs (using the system level configuration). On Fri, 2011-10-28 at 22:43 +0800, Mark Hatle wrote: > Setting the default TZ for the image is something that should be done in a > post > instal

Re: [OE-core] how to set time zone

2011-10-28 Thread Saul Wold
On 10/28/2011 10:22 AM, Andrea Adami wrote: On Fri, Oct 28, 2011 at 9:05 AM, Ni Qingliang mailto:niqingli...@insigma.com.cn>> wrote: THANKS! I still want the native support by oe-core/yocto:-). If no, I will try by myself. I've asked three or four time the oe-core crow to improve

Re: [OE-core] how to set time zone

2011-10-28 Thread Mark Hatle
Setting the default TZ for the image is something that should be done in a post install script for the tzdata package or something similar. Since the /etc/localtime is usually a copy/hardlink or symlink to the timezone data we don't want to package it up. Instead we want to perform the actions th

Re: [OE-core] how to set time zone

2011-10-28 Thread Andrea Adami
On Fri, Oct 28, 2011 at 9:05 AM, Ni Qingliang wrote: > THANKS! > > I still want the native support by oe-core/yocto:-). If no, I will try > by myself. > > I've asked three or four time the oe-core crow to improve the recipe...last one: On Wed, Oct 19, 2011 at 12:24 AM, Joshua Lock wrote: > Per

Re: [OE-core] how to set time zone

2011-10-28 Thread Ni Qingliang
THANKS! I still want the native support by oe-core/yocto:-). If no, I will try by myself. On Fri, 2011-10-28 at 14:32 +0800, Samuel Stirtzel wrote: > 2011/10/28 Ni Qingliang : > > Hello All: > > > > what is the right way to set timezone? > > > > I have added tzdata into my image, and can find som

Re: [OE-core] how to set time zone

2011-10-27 Thread Samuel Stirtzel
2011/10/28 Ni Qingliang : > Hello All: > > what is the right way to set timezone? > > I have added tzdata into my image, and can find some variables in the > etc, e.g. 'TZ'. > > on my archlinux, I can set TIMEZONE in the rc.conf, which is used in > rc.sysvinit (which will link the /etc/localtime us

[OE-core] how to set time zone

2011-10-27 Thread Ni Qingliang
Hello All: what is the right way to set timezone? I have added tzdata into my image, and can find some variables in the etc, e.g. 'TZ'. on my archlinux, I can set TIMEZONE in the rc.conf, which is used in rc.sysvinit (which will link the /etc/localtime using TIMEZONE). what is the right place t