summaryrefslogtreecommitdiff
path: root/src/core/procedures/automatic
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2011-05-07 23:19:17 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2011-05-07 23:40:00 +0200
commit3c9483c433ec200a8cb35cb978ae4d9e9c994f3c (patch)
treeeb42bfd81d97cef09c900a53a436f5ad5413b268 /src/core/procedures/automatic
parentcfeaf0e3b7d8c2b75cf66361e330906f4fed5f7d (diff)
bugfix: deal correctly with /etc/localtime. Fixes FS#24119
* always execute copy_timezone_file (), whether the user changed the timezone or not, and no matter which procedure we're running. (specifically automatic procedure!) if $TIMEZONE is set, it will create /etc/localtime appropriately on the live system * make target_localtime () - executed through postconfigure_target () - compatible with the case where no /etc/localtime file exists.
Diffstat (limited to 'src/core/procedures/automatic')
-rw-r--r--src/core/procedures/automatic4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/procedures/automatic b/src/core/procedures/automatic
index 407a35b..ce773e1 100644
--- a/src/core/procedures/automatic
+++ b/src/core/procedures/automatic
@@ -102,8 +102,8 @@ worker_install_packages ()
worker_set_clock ()
{
- #TODO implement this
- true
+ # uses $TIMEZONE, clock itself remains untouched.
+ copy_timezone_file
}