Package: base-config
Version: 2.40
Severity: normal

Hello,

While testing the d-i RC1 I've noticed that during the configuration of
base system (after reboot) the current time was not correctly substituted
into the template of the question about the hardware clock being set to
GMT. In my case the line was displayed as:

The hardware clock says the time is now Sun Aug.

I was able to trace the problem to the tzsetup in base-config. The
following patch fixes the substition, so the string shows the complete
time:
--------------------------------cut here----------------------------------
--- tzsetup.orig        2004-07-19 17:49:26.000000000 -0400
+++ tzsetup     2004-08-08 06:38:48.000000000 -0400
@@ -139,7 +139,7 @@

                        # The sed removes info about drift from the
                        # hwclock output.
-                       db_subst tzconfig/gmt hwtime $(hwclock --show --localtime | 
sed 's/  .*//')
+                       db_subst tzconfig/gmt hwtime $(hwclock --show --localtime | 
cut -d ' ' -f 1-5)
                        db_fset tzconfig/gmt seen false
                        db_input high tzconfig/gmt || true
                fi
--------------------------------cut here----------------------------------

Best regards,

Jurij Smakov                                        [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to