[Buildroot] [PATCH v4 2/3] system: Defaulting TZ_LOCALTIME to UTC

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Feb 14 07:36:39 UTC 2015


Dear Angelo Compagnucci,

On Thu, 12 Feb 2015 14:49:31 +0100, Angelo Compagnucci wrote:
> This patch sets the default timezone to UTC if not overwritten.
> Some packages need a configured system timezone for properly
> operating like mono based software.
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
> ---
>  system/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/system/Config.in b/system/Config.in
> index 95e10ab..d967002 100644
> --- a/system/Config.in
> +++ b/system/Config.in
> @@ -371,6 +371,7 @@ config BR2_TARGET_TZ_ZONELIST
>  
>  config BR2_TARGET_LOCALTIME
>  	string "default local time"
> +	default "Etc/UTC"
>  	help
>  	  The time zone to install as the default local time, expressed as a
>  	  tzdata location, such as:

Can you give more details as to what doesn't work with the current
default of an empty local time? An empty local time already means UTC,
so there should be no need to specify Etc/UTC as the local time.

Improving the commit log to give more details about the exact failure
solved by this patch would be useful.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list