This script will ask users about their prefrences like disk, file system, timezone, keyboard layout, user name, password, etc.
- CONFIG_FILE (string)[default: $CONFIGS_DIR/setup.conf]: Location of setup.conf to be used by set_option and all subsequent scripts.
- set_option()
- select_option()
- logo()
- filesystem()
- timezone()
- keymap()
- drivessd()
- diskpart()
- userinfo()
- aurhelper()
- desktopenv()
- installtype()
set options in setup.conf
- Output routed to startup.log
- $1 (string): Configuration variable.
- $2 (string): Configuration value.
Renders a text based list of options that can be selected by the user using up, down and enter keys and returns the chosen option.
Arguments : list of options, maximum of 256 "opt1" "opt2" ... Return value: selected index (0 for opt1, 1 for opt2 ...)
Displays ArchTitus logo
Function has no arguments.
This function will handle file systems. At this movement we are handling only btrfs and ext4. Others will be added in future.
Detects and sets timezone.
Set user's keyboard mapping.
Choose whether drive is SSD or not.
Disk selection for drive to be used with installation.
Gather username and password to be used for installation.
Choose AUR helper.
Choose Desktop Environment
Choose whether to do full or minimal installation.