Comment 2 for bug 197723

Revision history for this message
laga (laga) wrote :

Yup. I've finally had time to test it.
I'm not sure if --priority=critical is needed because the debconf frontend is set to noninteractive already.

--- 035-copy-timezone.orig 2008-03-04 15:10:50.432578357 +0100
+++ 035-copy-timezone 2008-03-03 19:44:25.460383649 +0100
@@ -3,6 +3,8 @@
         # Set default timezone to that of server Bug #126443
         if [ -f /etc/timezone ]; then
             cp /etc/timezone $ROOT/etc/timezone
+ # fix https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/197723
+ chroot $ROOT dpkg-reconfigure --priority=critical tzdata
         fi
         ;;
 esac