[PATCH] optional /etc/localtime support

Denys Vlasenko vda.linux at googlemail.com
Thu Apr 29 15:24:15 UTC 2010


On Thu, Apr 29, 2010 at 12:44 AM, Austin Foxley <austinf at cetoncorp.com> wrote:
> On 04/28/2010 11:24 AM, Denys Vlasenko wrote:
>> Hi.
>>
>> Lengthly debugging of mysterious
>> "Superblock last mount time is in the future" problem
>> finally uncovered a problem with mixed glibc/uclibc
>> environment in a distro installer.
>>
>> Teaching installer to maintain /etc/localtime
>> AND /etc/TZ would be impractical. More likely they
>> just drop uclibc instead. We don't want that, right? ;)
>>
>> This patch teaches uclibc to use /etc/localtime.
>> This is possible since recent TZif2 file format contains
>> TZ-like ASCII string at the end.
>>
>> 1.patch contains optional /etc/localtime support.
>> Run-tested.
>>
>> 2.patch is just a code readability massage on top of it.
>>
>> Please review.
>
> This looks good to me.

Thanks. Applied to git.
-- 
vda


More information about the uClibc mailing list