[Buildroot] [PATCH 1/9] Allow timezone to be set in configuration

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Oct 17 20:01:30 UTC 2011


Le Sat, 15 Oct 2011 11:51:42 +0200,
Arnout Vandecappelle <arnout at mind.be> a écrit :

>  Why not just create the file here?  I.e.
> 
> 	echo $(TARGET_GENERIC_TIMEZONE) > $(TARGET_DIR)/etc/TZ
> 
>  Perhaps even move it out of the SKELETON_DEFAULT condition.

Agreed.

However, it would be good to mention in the config option help text
that this only works with uClibc. I don't ask to do it in this patch
(because it's a lot more work), but it would be great to make this
works for glibc as well (where it's not /etc/TZ, but /etc/timezone,
with a different syntax).

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list