summaryrefslogtreecommitdiff
path: root/src/core/procedures
AgeCommit message (Collapse)Author
2010-12-31add quotes for previous commit.Dieter Plaetinck
bugfix for 66a265a1a0b31dfcbc69be0297c883403a460340 Weirdly enough, in my testing on bash, using the same version quotes were not needed. But in live archiso environment they seem to be needed
2010-12-31bugfix: make main loop work and reporting able to get worker titlesDieter Plaetinck
2010-12-31fix numbering in main menu of interactive procedureDieter Plaetinck
2010-12-29Show report at end of install in interactive procedureDieter Plaetinck
* port show_report to interactive procedure * use msg_report worker as method to exit the installer (this is more in line with the other procedures)
2010-12-29make the code for the interactive procedure main menu nicerDieter Plaetinck
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-29re-clarify why interactive inherits from baseDieter Plaetinck
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-28more elegant way to build menu in interactive procedureDieter Plaetinck
2010-12-28manage $EDITOR more properlyDieter Plaetinck
since 3cee8e663a4da69456b493acccbda27064209a35 libui-sh can manage the $EDITOR preference, so we can simplify and cleanup our code. we now also explicitly enable the user to change $EDITOR in the interactive procedure even when it is already set correctly, so there is a new menu entry for that.
2010-12-17centralize interactive rollback code, ask for rollback when needed when ↵Dieter Plaetinck
aborting interactive install
2010-12-14remove stale TODODieter Plaetinck
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-04-16change infofy calls to inform, because libui-sh changed function nameDieter Plaetinck
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-29fix some invalid show_warning invocationsDieter Plaetinck
2009-07-29add disclaimerDieter Plaetinck
2009-07-29Several grub related fixesGerhard Brauer
Attached the extended patch, this replaced the one from my earlier mail. * Fixed grub device mapping in automatic procedure * Fixed bootdevice handling either if we use a seperate /boot or not in automatic procedure. * Added a hint to Luks passphrasing during process_filesystem The test i have made: a) automatic-lvm-dmcrypt-install-sda: menu.lst ok, HOOKS ok, Boot is fine.... b) generic-install-sda: menu.lst ok, HOOKs ok, boot ok c) generic-install-sda (but without seperate /boot partiton, sda1=swap sda2=/) menu.lst ok, HOOKs ok, boot ok d) fancy-install-on-sda Fails on creating all filesystems/lvm-partitions here, but this is because my Virtualbox VM has a too small disk http://users.archlinux.de/~gerbra/tmp/fancy-install-sda.png http://users.archlinux.de/~gerbra/tmp/fancy-install-sda-tty7.png With this changes i build now a new local iso here and test again a interactive install (no lvm,no crypt, only a normal install) to see if we hurt something in interactive... But i guess not.... Gerhard
2009-07-27separate automatic prefilling of configs with manual editing + enable ↵Dieter Plaetinck
automatic config updating and grub menu.lst generation in automatic installs
2009-07-26cleaner separation of concerns: remove $PART_ROOT hack in favor of more ↵Dieter Plaetinck
useful partion finding function
2009-07-25make the $ret variable local everywhereDieter 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-13introduce (var_)TARGET_PACKAGES_EXCLUDE parameters + TARGET_GROUPS incorrect ↵Dieter Plaetinck
var fix
2009-04-13if one or more "extra" workers after the main one return false, that doesnt ↵Dieter Plaetinck
mean the whole thing failed
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-13grub-install invocation fixDieter 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-12syntax regression fixDieter Plaetinck
2009-03-12stupid typo/doc/todo fixesDieter Plaetinck
2009-03-12various fixes re:keymap/font. + auto updating rc.conf in all proceduresDieter Plaetinck
2009-03-11getting rid of the quickinst port. the automatic procedure will replace itDieter Plaetinck
2009-03-10syntax fixes +todo updateDieter Plaetinck
2009-03-10syntax fixDieter Plaetinck
2009-03-10improved version of automatic procedures. better separation between my needs ↵Dieter Plaetinck
and those of the average user. also a sample config for generic install
2009-03-08todo updates (some todos are moved to flyspray)Dieter Plaetinck
2009-02-28check_is_in fixes.. and this time i mean it.. i think. hopefully. + test ↵Dieter Plaetinck
script for check_is_in
2009-02-28ask_option now supports optional (skippable) and required menus. labels and ↵Dieter Plaetinck
exit codes are applied differently
2009-02-28set UI typeDieter Plaetinck
2009-02-28support for debug categoriesDieter Plaetinck
2009-02-26ui function to set keymap and font + partial procedure for itDieter Plaetinck
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