diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-10-30 19:58:29 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-10-30 19:58:29 +0100 |
commit | c4ec3e695b2ebb6d3e57c65e69616d9277fd041f (patch) | |
tree | 83cfd2d9e76d6cc25d2285fbadb14f203d6a89a4 /src/profiles/profile-base |
first commit
Diffstat (limited to 'src/profiles/profile-base')
-rw-r--r-- | src/profiles/profile-base | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/profiles/profile-base b/src/profiles/profile-base new file mode 100644 index 0000000..64605d2 --- /dev/null +++ b/src/profiles/profile-base @@ -0,0 +1,80 @@ +#!/bin/bash + +var_DEFAULTFS="/boot:32:ext2:+ swap:256:swap /:7500:ext3 /home:*:ext3" +var_DESTDIR="/mnt" +var_RUNTIME_PACKAGES= + + + +###### Phases ( can be overridden by more specific profiles) ###### + +phase_preparation () +{ + execute worker runtime_packages +} + + +phase_basics () +{ + execute worker prepare_disks +} + + +phase_system () +{ + execute worker package_list + execute worker install_packages + execute worker install_bootloader +} + + +phase_finish () +{ + execute worker configure_home +} + + + +###### Workers ( can be overridden by more specific profiles) ###### +worker_runtime_packages () +{ + for pkg in $RUNTIME_PACKAGES + do + pacman -Sy $pkg + done +} + + +worker_prepare_disks () +{ + +} + + +# Put the list of packages to be installed in /home/arch/automatic-package-list +worker_package_list () +{ + #TODO: sensible list of packages + echo "No actions specified" +} + + +worker_install_packages () +{ + #TODO: installation of the packages + echo "No actions specified" +} + + +worker_install_bootlader () +{ + #TODO: autodetection or whatever + echo "No actions specified" +} + + +worker_configure_home () +{ + echo "No actions specified" +} + |