diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-07-01 07:20:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-07-01 07:20:14 +0000 |
commit | 9d6694f9beb1f4750313769838e2c13d8608b66e (patch) | |
tree | 6b4630408c87a68b46b8f2154adc65755f930044 /share/scripts | |
parent | Avoid removing top-level directories when cleaning up bind mounts in containe... (diff) | |
download | compute-tools-9d6694f9beb1f4750313769838e2c13d8608b66e.tar.xz compute-tools-9d6694f9beb1f4750313769838e2c13d8608b66e.zip |
Also removing /etc/localtime before reconfiguring tzdata to workaround broken tzdata preseed handling (see several bug reports in the BTS), thanks to Nik Lutz <nik@netstyle.ch>.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | share/scripts/debconf | 2 |
1 files changed, 1 insertions, 1 deletions
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 |