summaryrefslogtreecommitdiff
path: root/src/core
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-30bugfix: allow any kind of blockdevice to be queried for uuid/label, not just ↵Dieter Plaetinck
hd/sd partitions
2010-12-29allow setting labels for swapMatthias Dienstbier
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-29show_report(): use libui-sh for reportDieter Plaetinck
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-29remove stale PARTFINISH variableDieter Plaetinck
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-28handle user confirmation checking a bit nicer in interactive_runtime_network()Dieter Plaetinck
2010-12-28Refactor network config generation codeDieter Plaetinck
Make interactive_runtime_network() and target_configure_network() able to be run multiple times with different settings, and make it clear what's going on in target_configure_network().
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-28make prefill_configs() handle -rare- cases where it gets run multiple timesDieter Plaetinck
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-28cleanup target_configure_fstab(), correct exit codesDieter Plaetinck
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-20Merge branch 'btrfs'Dieter Plaetinck
2010-12-20make default root size in autoprepare more sensible for small disksDieter Plaetinck
2010-12-20Merge branch 'master' into btrfsDieter Plaetinck
2010-12-20fix grub device selection, remove duplicate disksDieter Plaetinck
2010-12-18Merge branch 'master' into btrfsDieter Plaetinck
2010-12-18fix ordering of packages by group, bug introduced in previous commitDieter Plaetinck
2010-12-18Merge branch 'master' into btrfsDieter Plaetinck
2010-12-18make package extra info also contain package versionDieter Plaetinck
2010-12-18pass package names as separate argumentsDieter Plaetinck
Since we've switched to an array-based approach, it makes more sense to treat packages as separate arguments (that's how bash works anyway)
2010-12-18Merge branch 'master' into btrfsDieter Plaetinck
2010-12-18simplify PV selection a tiny bit by using array directlyDieter Plaetinck
2010-12-18adapt ask_checklist calls for new libui-sh api since e549a38079530afc3913Dieter Plaetinck
2010-12-17preliminary btrfs supportDieter Plaetinck
2010-12-17centralize interactive rollback code, ask for rollback when needed when ↵Dieter Plaetinck
aborting interactive install
2010-12-17interactive_select_packages(): show package description when hoovering over ↵Dieter Plaetinck
package
2010-12-17cleanup interactive_select_packages()Dieter Plaetinck
2010-12-17document output order for various pacman callsDieter Plaetinck
2010-12-17adapt for libui-sh change: ask_checklist returns array instead of uglyDieter Plaetinck
quoted string. libui-sh change 79e8bfe2
2010-12-14remove stale TODODieter Plaetinck
2010-12-13display previous $fs_type as default when editing FSDieter Plaetinck
2010-12-13fix display of fs_create in "Manage Filesystems"Dieter Plaetinck
2010-12-13parse_filesystem_string: handle no_fs cases, fixed display in "Manage ↵Dieter Plaetinck
Filesystems"
2010-12-13properly show partition info in "Manage filesystems"Dieter Plaetinck
this was broken since 6d8f39a5e114755b67b86529e6f16b7d9ee752df also, partinfo gathering is now in lib-blockdevices-filesystems.sh
2010-12-13make sure get_blockdevice_size returns 0 if there was no issue, this caused ↵Dieter Plaetinck
some sizes not be shown
2010-12-12renew_blockdevices fix, bug introduced in ↵Dieter Plaetinck
1641a8975040df2706b191025568b953af0841ef
2010-12-12unbreak $TMP_BLOCKDEVICES initialisation, broken since ↵Dieter Plaetinck
dabeebb0653ee444a9b142ac17af2128da8f7f00
2010-12-12enable backslash interpretation for finddisks and findblockdevices "things ↵Dieter Plaetinck
to echo"