From 846471086b3c581619eeda5ad706475a1a17ddf9 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 29 Dec 2010 18:08:49 +0100 Subject: 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 --- examples/fancy-install-on-sda | 1 + examples/generic-install-on-sda | 1 + 2 files changed, 2 insertions(+) (limited to 'examples') diff --git a/examples/fancy-install-on-sda b/examples/fancy-install-on-sda index ec920d4..0e6934d 100644 --- a/examples/fancy-install-on-sda +++ b/examples/fancy-install-on-sda @@ -21,6 +21,7 @@ worker_intro () { worker_configure_system () { preconfigure_target sed -i 's/^HOSTNAME="myhost"/HOSTNAME="arch-fancy-install"/' $var_TARGET_DIR/etc/rc.conf + postconfigure_target } # These variables are mandatory diff --git a/examples/generic-install-on-sda b/examples/generic-install-on-sda index a5b9a2e..7892644 100644 --- a/examples/generic-install-on-sda +++ b/examples/generic-install-on-sda @@ -27,6 +27,7 @@ worker_intro () { worker_configure_system () { preconfigure_target sed -i 's/^HOSTNAME="myhost"/HOSTNAME="arch-generic-install"/' $var_TARGET_DIR/etc/rc.conf + postconfigure_target } -- cgit v1.2.3-54-g00ecf