summaryrefslogtreecommitdiff
path: root/src/core/procedures/interactive
AgeCommit message (Collapse)Author
2010-12-31in show_report, support workers which havent been run and show them as suchDieter Plaetinck
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-31fix "NET (HTTP/FTP) Installation" menuDieter Plaetinck
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-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-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-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-03-12syntax regression fixDieter Plaetinck
2009-03-12various fixes re:keymap/font. + auto updating rc.conf in all proceduresDieter Plaetinck
2009-03-08todo updates (some todos are moved to flyspray)Dieter Plaetinck
2009-02-28ask_option now supports optional (skippable) and required menus. labels and ↵Dieter Plaetinck
exit codes are applied differently
2009-02-28support for debug categoriesDieter Plaetinck
2009-02-14typo fix: $SYNC_URL -> $var_SYNC_URLDieter Plaetinck
2009-02-14port of FS#13102 - fix, need to copy initial /etc/localtimeDieter Plaetinck
2009-02-14port of FS#13101 - simple fix to setup script writing timezone to rc.confDieter Plaetinck
2008-12-24more logical place for warningDieter Plaetinck
2008-12-20fix for incorrect shebangsDieter Plaetinck
2008-12-18fix for badly placed var_TARGET_DIR assignmentDieter Plaetinck
2008-12-15be smarter, propose rollback instead of disallowingDieter Plaetinck
2008-12-14small shit and todosDieter Plaetinck
2008-12-14rollback update string fixes in interactive procedureDieter Plaetinck
2008-12-14syntax fixesDieter Plaetinck
2008-12-14make rollback more accessible, assist user more when he needs it and when ↵Dieter Plaetinck
not + some output cleanup
2008-12-11syntax fixDieter Plaetinck
2008-12-11mooDieter Plaetinck
2008-12-11possibility for extra info in ask_option cause we couldnt cram everything in ↵Dieter Plaetinck
the title
2008-12-10you need to select source before you can sync reposDieter Plaetinck
2008-12-10cleaned up and abstracted ui code everywhereDieter Plaetinck