summaryrefslogtreecommitdiff
path: root/unofficial/modules/dieter/procedures
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-04 13:57:18 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-04 13:57:18 +0100
commit3b222c68832d3495d4b04eff404324ebe843b803 (patch)
tree0e4b19ae16b1cf85271f8a59eb9bbb6c5bb75042 /unofficial/modules/dieter/procedures
parenta9306572bd4d0df7150307b70ab1231e6ce494a5 (diff)
fix for select_source + some tidying
Diffstat (limited to 'unofficial/modules/dieter/procedures')
-rw-r--r--unofficial/modules/dieter/procedures/automatic24
1 files changed, 16 insertions, 8 deletions
diff --git a/unofficial/modules/dieter/procedures/automatic b/unofficial/modules/dieter/procedures/automatic
index 2ccec68..3bdb306 100644
--- a/unofficial/modules/dieter/procedures/automatic
+++ b/unofficial/modules/dieter/procedures/automatic
@@ -7,32 +7,40 @@ phase_preparation ()
{
# All things that need to be done manually first
notify "A few manual things need to happen first..."
- if ask_yesno "Do you want to (re)-configure your networking?"
- then
- #TODO: which function do i need here?
- donetwork #configure network by using library
- else
- notify "Ok. skipping network config"
- fi
+ execute worker runtime_network
SVN_USERNAME=dieter
ask_password svn #TODO: if user entered incorrect password, the install process will just fail..
SVN="svn --username $SVN_USERNAME --password $SVN_PASSWORD"
SVN_BASE=https://192.168.1.2/svn/repos
TARGET_HOST=desktop-a7n8x #TODO: prompt user for this, or let him pass it as cmdline argument (and check with svn info)
- _accept_ssl_cert
notify "**** From now on. everything will be automatic. Enjoy the show!" # not true: you need pass for dm_crypt
+ _accept_ssl_cert
+ execute worker select_source
execute worker runtime_packages
#TODO: i should have extra,community,.. (actually even yaourt/aur) available
}
+
phase_finish ()
{
execute worker configure_home
}
+worker_runtime_network ()
+{
+ if ask_yesno "Do you want to (re)-configure your networking?"
+ then
+ #TODO: which function do i need here?
+ donetwork #configure network by using library
+ else
+ notify "Ok. skipping network config"
+ fi
+}
+
+
worker_prepare_disks ()
{
modprobe dm-crypt || die_error "Cannot modprobe dm-crypt"