From d5df0c0f84ebb04219dadf1862b0a629bac16b99 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 26 Jul 2018 16:03:13 +0200 Subject: [PATCH] TT#41500 Run dpkg-reconfigure tzdata to workaround a bug in grml-debootstrap Currently grml-debootstrap only sets /etc/localtime, but not /etc/timezone, so this confuses the system with libraries/tools that read the former and others the latter. Reconfigure tzdata so that it can get both files into a consistent state. Change-Id: Id34c1a088809fbac19957a750c31fb8f3ceda893 --- templates/scripts/includes/deployment.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/scripts/includes/deployment.sh b/templates/scripts/includes/deployment.sh index 6187984..32743b1 100755 --- a/templates/scripts/includes/deployment.sh +++ b/templates/scripts/includes/deployment.sh @@ -1288,6 +1288,9 @@ save EOT fi +# TT#41500: Make sure the timezone setup is coherent +grml-chroot "$TARGET" dpkg-reconfigure tzdata + # provide useable swap partition echo "Enabling swap partition $SWAP_PARTITION via /etc/fstab" cat >> "${TARGET}/etc/fstab" << EOF