From 9d6694f9beb1f4750313769838e2c13d8608b66e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 1 Jul 2017 09:20:14 +0200 Subject: Also removing /etc/localtime before reconfiguring tzdata to workaround broken tzdata preseed handling (see several bug reports in the BTS), thanks to Nik Lutz . Signed-off-by: Daniel Baumann --- share/scripts/debconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/scripts/debconf b/share/scripts/debconf index 5441acc..38bf937 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -663,7 +663,7 @@ EOF do if grep -qs tzdata "${FILE}" then - rm -f "${DIRECTORY}/etc/timezone" + rm -f "${DIRECTORY}/etc/localtime" "${DIRECTORY}/etc/timezone" Chroot "${DIRECTORY}" "DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=criticial dpkg-reconfigure tzdata" break -- cgit v1.2.3