summaryrefslogtreecommitdiff
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/fancy-install-on-sda1
-rw-r--r--examples/generic-install-on-sda1
2 files changed, 2 insertions, 0 deletions
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
}