From: Darrick H. <dha...@dj...> - 2007-03-11 21:35:24
|
Kristian Kielhofner wrote: > On 3/11/07, Darrick Hartman <dha...@dj...> wrote: > >> As you probably know several areas recently changed their start of >> daylight savings time to supposedly help conserve energy. We won't go >> into that whole discussion, but suffice it to say that we've had to make >> some changes. I'll provide a little history on the zoneinfo files and >> how they tie into Astlinux along with the TZ variable, then give you a >> link where you can grab some replacement files. >> >> Astlinux is built on uclibc. uclibc it self does not use the >> information in the zoneinfo files usually found in /usr/share/zoneinfo >> and linked from /etc/localtime. Asterisk however DOES read these files >> directly rather than access this data via the *libc. This is how we >> ended up with two variables in rc.conf referring to timezones. TZ sets >> the timezone for the system, TIMEZONE sets it for Asterisk. >> >> If you don't mind the time on your voicemails being off by the daylight >> savings time offset, you don't need to do anything. >> >> For the foreseeable future, the TZ variable will need to be adjusted as >> mentioned in my previous email. Again, this is for the system time. >> >> The TIMEZONE variable can stay as is, but the zoneinfo files need to be >> updated. I have a tar.gz file available which has updated timezone >> data. This has not been fully tested, but it works on my test system. >> I will be creating new images based on 0.4 branch which will have the >> updated files. You can either update to these images or grab the file >> and overwrite the files on your current image. I only recommend doing >> this if you really know what you are doing. >> >> http://www.djhsolutions.com/astlinux/tzdata.tar.gz >> >> To overwrite the current files, you will need to mount your system >> read-write. >> Remove the existing files in /usr/share/zoneinfo >> Replace them with the files in that tar.gz file. >> >> Darrick >> >> > > Darrick, > > I see the commit for 0.4. I am merging that into trunk right now. > Thanks a lot! > > I am thinking that it probably makes more sense to have these as a > package - glibc-tzdata, for instance. > > Either the user could compile it themselves (similar to Lonnie's > method) or we could just offer a binary tarball to download and > install. > > What do you think? > > > I almost have the package ready... -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |