[yocto] [OE-core] how to set time zone

Ni Qingliang niqingliang at insigma.com.cn
Fri Oct 28 00:05:17 PDT 2011


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 <niqingliang at insigma.com.cn>:
> > 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 to locate similar setting code (e.g. link
> > the /etc/localtime) in the yocto?
> >
> > thanks!
> >
> >
> >
> > --
> > Yi Qingliang
> > niqingliang at insigma.com.cn
> > http://niqingliang2003.wordpress.com
> >
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
> 
> Hi,
> 
> you could try the following:
> http://www.rwhitby.net/blog/nslu2-linux/setting-the-openmoko-timezone.html
> 
> Well this is the first entry when using google with "openembedded time
> zone", so please consider using search engines first next time.
> 
> Also this is the very same process like it is done on a desktop
> computer, googling for "set time zone linux command line" gives this
> result:
> http://www.cyberciti.biz/faq/howto-linux-unix-change-setup-timezone-tz-variable/
> Which shows more precise steps at the headline "Set timezone using
> /etc/localtime configuration file [any Linux distro]".
> 
> 
> (Sorry for cross posting, but this was carried over to the OE-Core list)
> 
> --
> Regards
> Samuel

-- 
Yi Qingliang
niqingliang at insigma.com.cn
http://niqingliang2003.wordpress.com





More information about the yocto mailing list