summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")