From: Ni Qingliang <niqingliang@insigma.com.cn>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: how to set time zone
Date: Mon, 31 Oct 2011 08:44:51 +0800 [thread overview]
Message-ID: <1320021891.10032.56.camel@localhost.localdomain> (raw)
In-Reply-To: <4EAABF76.7080703@windriver.com>
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
> 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
> that a program running on the target system itself would use to change the timezone.
>
> So I think the easiest approach is to add a system level configuration variable
> (set the default).
>
> Then use this variable to populate the configuration file that specifies the
> system timezone... and then use the post install process to check the contents
> of a text file.
>
> Alternatively do this via an initscript -- but for folks w/ read-only
> filesystems I'm not sure that will work.
>
> --Mark
>
> On 10/28/11 3:22 AM, Andrea Adami wrote:
> > On Fri, Oct 28, 2011 at 9:05 AM, Ni Qingliang <niqingliang@insigma.com.cn
> > <mailto:niqingliang@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 the recipe...last one:
> >
> > On Wed, Oct 19, 2011 at 12:24 AM, Joshua Lock <josh@linux.intel.com
> > <mailto:josh@linux.intel.com>> wrote:
> >
> > Per mailing requests, here are updates to the tzdata and gst-plugins-good
> > recipes.
> >
> > Joshua
> >
> > The following changes since commit 95d0ff5e070c690314ab87665200099a52d37ebf:
> >
> > tzdata: updated SRC_URI and update to 2011k (2011-10-18 11:16:58 -0700)
> >
> >
> > Thanks for the tzdata fix.
> > Now, we have the same recipes in meta-oe with a slightly different do_install
> > and packaging: I'm referring to /etc/localtime and /etc/timezone: which package
> > do provide those in oe-core?
> >
> > (We'll remove the tzdata/tzcodes from meta-oe once the recipes are matching)
> >
> > Regards
> >
> >
> >
> > Andrea
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Yi Qingliang
niqingliang@insigma.com.cn
http://niqingliang2003.wordpress.com
next prev parent reply other threads:[~2011-10-31 0:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 5:41 how to set time zone Ni Qingliang
2011-10-28 6:32 ` Samuel Stirtzel
2011-10-28 7:05 ` Ni Qingliang
2011-10-28 8:22 ` Andrea Adami
2011-10-28 14:43 ` Mark Hatle
2011-10-31 0:44 ` Ni Qingliang [this message]
2011-11-02 17:32 ` Andrea Adami
2011-11-02 19:15 ` Mark Hatle
2011-11-03 0:47 ` Ni Qingliang
2011-11-03 1:19 ` Otavio Salvador
2011-11-03 1:35 ` Ni Qingliang
2011-11-03 1:58 ` Philip Balister
2011-11-03 2:14 ` Ni Qingliang
2011-11-03 16:20 ` Andrea Adami
2011-10-28 16:15 ` Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1320021891.10032.56.camel@localhost.localdomain \
--to=niqingliang@insigma.com.cn \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox