From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx.insigma.com.cn ([115.236.48.170] helo=WX-Edge.insigma.com.cn) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RLmKH-0006yh-UI for openembedded-core@lists.openembedded.org; Thu, 03 Nov 2011 02:42:42 +0100 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, 3 Nov 2011 09:36:22 +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, 3 Nov 2011 09:36:21 +0800 Message-ID: <1320284129.1504.11.camel@localhost.localdomain> From: Ni Qingliang To: Otavio Salvador Date: Thu, 3 Nov 2011 09:35:29 +0800 In-Reply-To: References: <1319780499.10032.46.camel@localhost.localdomain> <1319785517.10032.48.camel@localhost.localdomain> <4EAABF76.7080703@windriver.com> <1320021891.10032.56.camel@localhost.localdomain> <4EB196D0.5010005@windriver.com> <1320281261.1504.10.camel@localhost.localdomain> Organization: Insigma X-Mailer: Evolution 3.2.1 MIME-Version: 1.0 Cc: Patches and discussions about the oe-core layer Subject: Re: how to set time zone X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: niqingliang@insigma.com.cn, Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2011 01:42:42 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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/rcS.d/ to create the symlink. > > This ought to be done by image IMO; so a kind of post rootfs > generation hook might be use allowing it to be set per-image. > > I personally have this exactly use-case here at work. > > -- > Otavio Salvador O.S. Systems > E-mail: otavio@ossystems.com.br http://www.ossystems.com.br > Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br -- Yi Qingliang niqingliang@insigma.com.cn https://niqingliang2003.wordpress.com