From 1fc9253ed27fb628a0e5e731e21c4537902f45b8 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 26 Jul 2009 19:39:43 +0200 Subject: no more need to actually change HOOKS in mkinitcpio.conf, but may be useful to show replacing stuff in the configure system step --- examples/fancy-install-on-sda | 2 +- examples/generic-install-on-sda | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/fancy-install-on-sda b/examples/fancy-install-on-sda index 6a34972..e094c9f 100644 --- a/examples/fancy-install-on-sda +++ b/examples/fancy-install-on-sda @@ -19,7 +19,7 @@ worker_intro () { } worker_configure_system () { - sed -i 's/filesystems/usbinput keymap encrypt lvm2 filesystems/' $var_TARGET_DIR/etc/mkinitcpio.conf + sed -i 's/HOSTNAME="myhost"/HOSTNAME="arch-fancy-install"/' $var_TARGET_DIR/etc/rc.conf } # These variables are mandatory diff --git a/examples/generic-install-on-sda b/examples/generic-install-on-sda index 8f6a152..d1e79b9 100644 --- a/examples/generic-install-on-sda +++ b/examples/generic-install-on-sda @@ -23,6 +23,10 @@ worker_intro () { sleep 10 } +worker_configure_system () { + sed -i 's/HOSTNAME="myhost"/HOSTNAME="arch-generic-install"/' $var_TARGET_DIR/etc/rc.conf +} + # These variables are mandatory -- cgit v1.2.2