diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-10-31 10:16:14 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-10-31 10:16:14 +0100 |
commit | 24521d1abf7f2b3908894404875cffc98658d4d7 (patch) | |
tree | c95e5e03c05976fd89aadf42859d9ea27ba1780b /src | |
parent | 0915e202f66e11a77b3befbcd1a6b1d3d76ccd59 (diff) |
implemented preparation phase, package list worker and some other fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/profiles/profile-dieter | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/src/profiles/profile-dieter b/src/profiles/profile-dieter index c4dd75c..01caaeb 100644 --- a/src/profiles/profile-dieter +++ b/src/profiles/profile-dieter @@ -1,21 +1,40 @@ #!/bin/bash var_RUNTIME_PACKAGES="svn" -phase_package_list () +phase_preparation () { - # install svn. export list - true + # All things that need to be done manually first + donetwork #configure network by using lib-archboot function. + SVN_USERNAME=dieter + stty -echo + echo -n "Enter your svn password: " + read SVN_PASSWORD + stty echo + SVN="svn --username $SVN_USERNAME --password $SVN_PASSWORD" + SVN_BASE=https://192.168.1.2/svn/repos + TARGET_HOST=mbp-santa-rosa #TODO: prompt user for this, or let him pass it as cmdline argument + + echo "**** From now on. everything will be automatic. Enjoy the show!" + + execute worker runtime_packages +} + + + +worker_package_list () +{ + $SVN export $SVN_BASE/ddm-configs/$TARGET_HOST/package-list /home/arch/fifa/package-list } -phase_configure_home () +worker_configure_home () { #checkout from svn true } -phase_install_bootloader () +worker_install_bootloader () { install-grub /dev/sda } |