summaryrefslogtreecommitdiff
path: root/src/core/procedures/base
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2010-12-29 18:08:49 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2010-12-29 18:08:49 +0100
commit846471086b3c581619eeda5ad706475a1a17ddf9 (patch)
tree6eea91278f4ac1a2eea7c3d826ab3a8214bb49cc /src/core/procedures/base
parentd363589e1a55874d3eb9abade701d61ea1f085b7 (diff)
refactor locale, initcpio and initialtime code
* remove locale, initcpio and initialtime workers, move logic in new postconfigure_target function * for base and automatic procedures, postconfigure_target() gets called automatically * interactive procedure calls this in interactive_configure_system in the same way it calls preconfigure_target * rename target_run_mkinitcpio to target_run_mkinitcpio, to be consistent with other functions
Diffstat (limited to 'src/core/procedures/base')
-rw-r--r--src/core/procedures/base21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/core/procedures/base b/src/core/procedures/base
index e2d470d..68a91ee 100644
--- a/src/core/procedures/base
+++ b/src/core/procedures/base
@@ -29,8 +29,6 @@ phase_system=(\
package_list \
install_packages \
configure_system \
- mkinitcpio \
- locales \
install_bootloader)
phase_finish=(msg_report)
@@ -158,24 +156,7 @@ worker_auto_network ()
worker_configure_system ()
{
preconfigure_target
-}
-
-
-worker_mkinitcpio ()
-{
- run_mkinitcpio
-}
-
-
-worker_locales ()
-{
- target_locale-gen
-}
-
-
-worker_initialtime ()
-{
- cp /etc/localtime ${var_TARGET_DIR}/etc/localtime
+ postconfigure_target
}