summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/finish-install3
2 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index ff4cd1de3..d81afa16f 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -8,6 +8,8 @@
- service_harddrake:
o do not crash if loading new drivers fails
(happened with amd64_agp wrongly listed in pcitable, #43870)
+- finish-install:
+ o ensure ntp package is installed when configuring ntp
Version 12.29 - 21 April 2009
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index 2034ca255..3da4d6973 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -71,7 +71,10 @@ sub ask_timezone() {
$timezone = timezone::read();
$timezone->{timezone} = timezone::bestTimezone($locale->{country}) if $locale->{country};
any::configure_timezone($in, $timezone, 'ask_gmt', lc(get_conf('TIMEZONE')) eq 'simplified');
+
+ $in->do_pkgs->ensure_is_installed('ntp') if $timezone->{ntp};
timezone::write($timezone);
+
#- reload sys clock from hc once we know the real timezone
timezone::reload_sys_clock($timezone);
}