From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 14 Feb 2015 08:36:39 +0100 Subject: [Buildroot] [PATCH v4 2/3] system: Defaulting TZ_LOCALTIME to UTC In-Reply-To: <1423748972-17471-3-git-send-email-angelo.compagnucci@gmail.com> References: <1423748972-17471-1-git-send-email-angelo.compagnucci@gmail.com> <1423748972-17471-3-git-send-email-angelo.compagnucci@gmail.com> Message-ID: <20150214083639.04c134f3@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > --- > 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