Return-Path: Received: from WX-Edge.insigma.com.cn (mx.insigma.com.cn [115.236.48.170]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EB684E006B4 for ; Thu, 27 Oct 2011 01:46:56 -0700 (PDT) Received: from WX-ExchMB.insigma.com.cn (10.0.1.203) by WX-Edge.insigma.com.cn (10.0.1.205) with Microsoft SMTP Server (TLS) id 8.1.436.0; Thu, 27 Oct 2011 16:46:44 +0800 Received: from [192.168.0.98] (122.224.76.38) by WX-ExchMB.insigma.com.cn (10.0.1.203) with Microsoft SMTP Server id 8.1.240.5; Thu, 27 Oct 2011 16:46:42 +0800 From: Ni Qingliang To: "yocto@yoctoproject.org" Date: Thu, 27 Oct 2011 16:45:54 +0800 Organization: Insigma X-Mailer: Evolution 3.0.3 Message-ID: <1319705155.10032.40.camel@localhost.localdomain> MIME-Version: 1.0 Subject: how to set timezone X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: niqingliang@insigma.com.cn List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2011 08:46:59 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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@insigma.com.cn http://niqingliang2003.wordpress.com