summaryrefslogtreecommitdiff
path: root/src/core/procedures/base
AgeCommit message (Collapse)Author
2011-08-16Merge branch 'master' of https://projects.archlinux.org/git/aifNicolás Reynolds
Conflicts: doc/official_installation_guide_en
2011-05-18Merge branch 'master' of https://projects.archlinux.org/git/aifNicolás Reynolds
2011-05-07bugfix: deal correctly with /etc/localtime. Fixes FS#24119Dieter Plaetinck
* always execute copy_timezone_file (), whether the user changed the timezone or not, and no matter which procedure we're running. (specifically automatic procedure!) if $TIMEZONE is set, it will create /etc/localtime appropriately on the live system * make target_localtime () - executed through postconfigure_target () - compatible with the case where no /etc/localtime file exists.
2011-03-06Provide Syslinux as a possible bootloaderpyther@pyther.net
interactive_syslinux depends on the syslinux-install_update script that is in the Arch syslinux package. Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-03-03be more strict and correct in worker exit codesDieter Plaetinck
2011-03-03fix typo: bootlOaderDieter Plaetinck
2011-03-03apply indentation with tabs everywhereDieter Plaetinck
2011-02-13Parabola rebranding2011.02.13-parabola2011-02-13parabolaNicolás Reynolds
2011-01-08properly locate grubmenuDieter Plaetinck
* bugfix: $grubmenu was not set correctly, because $var_TARGET_DIR was not set when grubmenu was being defined * feature: allow more control over on which system (where the root is mounted) to work with
2011-01-02Call target_configure_network directly instead of worker_auto_network.pyther@pyther.net
Will call target_configure_network instead of worker_auto_network in preconfigure_target. Calling worker_auto_network during worker_configure_system caused worker_configure_system to never set a return code. Calling target_configure_network follows the same format as other methods in preconfigure_target() worker_auto_network has been removed since no other function calls it. Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2010-12-31fix/improve default/next entry setting in menu'sDieter Plaetinck
* bugfix for commit e5e4eec43cc04cd99648c8b6826af4b9e5c58b10 * simplyfying default setting in 3 places as well
2010-12-29refactor locale, initcpio and initialtime codeDieter Plaetinck
* remove locale, initcpio and initialtime workers, move logic in new postconfigure_target function * for base and automatic procedures, postconfigure_target() gets called automatically * interactive procedure calls this in interactive_configure_system in the same way it calls preconfigure_target * rename target_run_mkinitcpio to target_run_mkinitcpio, to be consistent with other functions
2010-12-29Make locale generation and keymap/font setting part of system configurationDieter Plaetinck
* remove auto_locale and auto_keymap_font workers, no need for middle-man. * call relevant code directly from prefill_configs, which is now renamed to preconfigure_target * make base procedure run preconfigure_target in configure_system worker. (this also removes the need for the configure_system worker definition in the automatic procedure) * warn user in interactive_configure_system() when preconfigure_target() failed, and allow him to go back * simplify interactive worker_install_packages () a little bit
2010-12-29simplify "default item"-logic in various menusDieter Plaetinck
2010-12-29refactor select_source,networking workersDieter Plaetinck
* give base/automatic procedures more elegant select_source, runtime_network workers * make select_mirrors part of select_source, no need to have it a worker * "select source" extras (including runtime_network and interactive_select_mirror) are specific to the interactive procedure, so make it part of interactive's select_source worker. * interactive worker_select_source has no problems being run multiple times
2010-12-28Make auto_network worker part of prefill_configs()Dieter Plaetinck
Make prefill_configs invoke auto_network worker, this makes more sense, and the separate procedures don't need to worry about it anymore.
2010-12-28cleanup worker_auto_network() / target_configure_network() codeDieter Plaetinck
The only thing needed to know before calling target_configure_network() is whether $RUNTIME_DIR/aif-network-settings exists; if that exists, network setup has been run sucessfully and all values are known. It's up to target_configure_network() to source that, which means worker_auto_network() functions can become simpler. Also, variable name cleanup: s/S_DHCP/DHCP/
2010-12-28remove pointless auto_fstab workerDieter Plaetinck
worker_auto_fstab only wrapped around target_configure_fstab. remove worker_auto_fstab, and call target_configure_fstab from prefill_configs(), which gets run in the configure_system worker. This way all procedures still run the logic, but as part of the system configuration, not as a separate step
2010-12-12cleanup some TODO's and other cruftDieter Plaetinck
2010-12-05code cleanup: use bash4 associative arrays for filesystem stuffDieter Plaetinck
now the information about which setup programs for filesystems, label programs, which FS'es can go on which blockdevices, need/can have labels, can be mounted and FS friendly names are in a central place in libs/lib-blockdevices-filesystems.sh. This simplifies the code somewhat where you actually want to work with the filesystems. Also, we only check the available filesystem utilities once at program startup, causing a performance improvement.
2010-03-10migrate everything to new approach where lib-ui.sh contains just some ↵Dieter Plaetinck
aif-specific things. all the generic UI stuff is now a separate project called libui-sh
2009-08-01ask to export network settings to target system just before configuring ↵Dieter Plaetinck
system, also track network settings possibly done in a separate process and misc cleanups/fixes
2009-07-29add disclaimerDieter Plaetinck
2009-07-23rename FTP install to NET install (FS#14587)Dieter Plaetinck
2009-07-21fix the dead cancel buttons of some menusMatthias Dienstbier
2009-04-11move some common logic away from the interactive procedure into the base ↵Dieter Plaetinck
procedure and lib-ui-interactive so the code is more reusable
2009-04-04fix for next item in datetime menuDieter Plaetinck
2009-03-13uniformize variable handling automatic procedure, change the package related ↵Dieter Plaetinck
variable stuff, support choosing grub device in automatic, fix grub installing bug, cleanup official vs dieters stuff, etc
2009-03-12stupid typo/doc/todo fixesDieter Plaetinck
2009-03-12various fixes re:keymap/font. + auto updating rc.conf in all proceduresDieter Plaetinck
2009-02-28ask_option now supports optional (skippable) and required menus. labels and ↵Dieter Plaetinck
exit codes are applied differently
2009-02-25adding refactored/reordered date/time setting logic into aif. based on ↵Dieter Plaetinck
tpowa's tz script. this also means an ncurses implementation of timezone selection
2009-02-22since we use /tmp now, no more need to hide files. some categorizing ↵Dieter Plaetinck
(tagging) of files is useful though
2009-02-14port of FS#12944 - Pacman mirrorlist installer editsDieter Plaetinck
2009-02-14port of FS#13102 - fix, need to copy initial /etc/localtimeDieter Plaetinck
2008-12-30architecture more clarityDieter Plaetinck
2008-12-20fix for incomplete repo location string, making pacman segfault *oops*Dieter Plaetinck
2008-12-20fixes/cleanups for runtime packages and repositories. Not much use in ↵Dieter Plaetinck
making yauort a module, its integrated now
2008-12-20cleanup automatic deployment stuffDieter Plaetinck
2008-12-20mooDieter Plaetinck
2008-12-20softcode architecture + some small misc stuff in yaourt libDieter Plaetinck
2008-12-18mirrorlist scope/softcoding cleanupsDieter Plaetinck
2008-12-14todo updatesDieter Plaetinck
2008-12-12cleanup stale files on start and stop + long overdue introduction of ↵Dieter Plaetinck
$RUNTIME_DIR
2008-12-09moving some code around to make some stuff prettierDieter Plaetinck
2008-12-09basic overridable implementation of commandline argument parsingDieter Plaetinck
2008-12-07merging blockdevicerefactor into masterDieter Plaetinck
2008-12-07refactored/cleanup datetime/timezone stuffDieter Plaetinck
2008-12-07ask user for date/time in base profileDieter Plaetinck
2008-12-07support for "intro" worker in all proceduresDieter Plaetinck