summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-02-14 16:14:01 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2009-02-14 16:14:01 +0100
commit9506a6b2359e9c1ca8b3da9e6f6528e2bda97803 (patch)
treed97d04fcc50f74d0485ce3b59fea54d66963419d
parentfd77cd880518f288b2c4a8d5885b41ef829db04c (diff)
port of FS#13102 - fix, need to copy initial /etc/localtime
-rw-r--r--src/core/procedures/base6
-rw-r--r--src/core/procedures/interactive3
2 files changed, 8 insertions, 1 deletions
diff --git a/src/core/procedures/base b/src/core/procedures/base
index 93c711c..6aa7767 100644
--- a/src/core/procedures/base
+++ b/src/core/procedures/base
@@ -166,6 +166,12 @@ worker_locales ()
}
+worker_initialtime ()
+{
+ cp /etc/localtime ${var_TARGET_DIR}/etc/localtime
+}
+
+
worker_install_bootlader ()
{
#TODO: ask which disk, install grub on it
diff --git a/src/core/procedures/interactive b/src/core/procedures/interactive
index 08bdf23..691652f 100644
--- a/src/core/procedures/interactive
+++ b/src/core/procedures/interactive
@@ -81,7 +81,8 @@ mainmenu()
execute worker auto_locale ; } && NEXTITEM=6 ;;
"6")
check_depend worker install_packages && execute worker configure_system && { execute worker mkinitcpio ; \
- execute worker locales ; } && NEXTITEM=7 ;; #TODO: why is next item 4 if $?=0?. maybe fixed now
+ execute worker locales ;
+ execute worker initialtime ; } && NEXTITEM=7 ;; #TODO: why is next item 4 if $?=0?. maybe fixed now
"7")
check_depend worker configure_system && execute worker install_bootloader && NEXTITEM=8 ;;
"8")