summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphaƫl Hertzog <hertzog@debian.org>2016-06-07 15:05:38 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-07-29 05:40:21 +0000
commit3d03f12a842a264ad7c491a47e818214e7943363 (patch)
tree70750b26553ce0d5b0cc9ea7f4edb7667d24ddcc
parentProperly handling hwclock set to local time (Closes: #832815). (diff)
downloadsystem-config-3d03f12a842a264ad7c491a47e818214e7943363.tar.xz
system-config-3d03f12a842a264ad7c491a47e818214e7943363.zip
Fixing timezone configuration by dropping /etc/localtime (Closes: #832816).
That way the tzdata config script is forced to recreate it from /etc/timezone. Thanks to Gregory David <groolot@groolot.net> for the analysis. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xcomponents/0070-tzdata1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/0070-tzdata b/components/0070-tzdata
index 2677c37..ac4864a 100755
--- a/components/0070-tzdata
+++ b/components/0070-tzdata
@@ -47,6 +47,7 @@ Config ()
fi
echo "${_AREA}/${_ZONE}" > /etc/timezone
+ rm -f /etc/localtime
dpkg-reconfigure -f noninteractive -p critical tzdata
# Creating state file