[yocto] how to set timezone

Ni Qingliang niqingliang at insigma.com.cn
Thu Oct 27 01:45:54 PDT 2011


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, and 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





More information about the yocto mailing list