diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 23:06:25 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 23:06:25 +0100 |
commit | b22c101c94622577fba858cb4e1baae6a3b6fdd6 (patch) | |
tree | 6054591292f0b9814c7364cad222fd3d5ccce67a /src/profiles/profile-interactive-DRAFT.sh | |
parent | 43689224c1db3a4a23440d364fb4be557590b75e (diff) |
refactoring in interactive profile, some stuff related to phases/workers, and some todo updates
Diffstat (limited to 'src/profiles/profile-interactive-DRAFT.sh')
-rw-r--r-- | src/profiles/profile-interactive-DRAFT.sh | 69 |
1 files changed, 38 insertions, 31 deletions
diff --git a/src/profiles/profile-interactive-DRAFT.sh b/src/profiles/profile-interactive-DRAFT.sh index b7f5a68..145b32d 100644 --- a/src/profiles/profile-interactive-DRAFT.sh +++ b/src/profiles/profile-interactive-DRAFT.sh @@ -15,21 +15,46 @@ PART_ROOT= # <mountpoint>:<partsize>:<fstype>[:+] DEFAULTFS="/boot:32:ext2:+ swap:256:swap /:7500:ext3 /home:*:ext3" -# install stages -S_SRC=0 # choose install medium -S_NET=0 # network configuration -S_CLOCK=0 # clock and timezone -S_PART=0 # partitioning -S_MKFS=0 # formatting -S_MKFSAUTO=0 # auto fs part/formatting TODO: kill this -S_SELECT=0 # package selection -S_INSTALL=0 # package installation -S_CONFIG=0 # configuration editing -S_GRUB=0 # TODO: kill this - if using grub -S_BOOT="" # bootloader installed (set to loader name instead of 1) + + +start_process () +{ + ##################### + ## begin execution ## + + # install stages + S_SRC=0 # choose install medium + S_NET=0 # network configuration + S_CLOCK=0 # clock and timezone + S_PART=0 # partitioning + S_MKFS=0 # formatting + S_MKFSAUTO=0 # auto fs part/formatting TODO: kill this + S_SELECT=0 # package selection + S_INSTALL=0 # package installation + S_CONFIG=0 # configuration editing + S_GRUB=0 # TODO: kill this - if using grub + S_BOOT="" # bootloader installed (set to loader name instead of 1) + + var_UI_TYPE=dia + + notify "Welcome to the Arch Linux Installation program. The install \ + process is fairly straightforward, and you should run through the options in \ + the order they are presented. If you are unfamiliar with partitioning/making \ + filesystems, you may want to consult some documentation before continuing. \ + You can view all output from commands by viewing your VC7 console (ALT-F7). \ + ALT-F1 will bring you back here." + + while true + do + mainmenu + done + +} + phase_preparation () { + #TODO: when does grub device map happen in official installer? execute worker runtime_packages notify "Generating GRUB device map...\nThis could take a while.\n\n Please be patient." get_grub_map @@ -82,7 +107,7 @@ mainmenu() partition() { if [ "$S_MKFSAUTO" = "1" ]; then - DIALOG --msgbox "You have already prepared your filesystems with Auto-prepare" 0 0 + notify "You have already prepared your filesystems with Auto-prepare" 0 0 return 0 fi @@ -814,22 +839,4 @@ EOF if [ $S_DHCP -ne 1 ]; then auto_network fi - - -##################### -## begin execution ## - -DIALOG --msgbox "Welcome to the Arch Linux Installation program. The install \ -process is fairly straightforward, and you should run through the options in \ -the order they are presented. If you are unfamiliar with partitioning/making \ -filesystems, you may want to consult some documentation before continuing. \ -You can view all output from commands by viewing your VC7 console (ALT-F7). \ -ALT-F1 will bring you back here." 14 65 - -while true; do - mainmenu - done - - exit 0 -
\ No newline at end of file |