summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-05Make master a stable branch, move development to rewritable branchesDieter Plaetinck
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-28Prompt user to pick a bootloader in interactive_select_packagespyther@pyther.net
This gives two advantages: 1) assurance the right package gets installed (and more explicit for user) 2) no need to ask for a bootloader again later in the process. Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-02-28Rename interactive_grub_menulst to interactive_bootloader_menupyther@pyther.net
Update function to be flexible with the use of multiple bootloaders Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-02-28Rewrite finddisks and findblockdevices (now find_usable_blockdevices)pyther@pyther.net
find_usable_blockdevices returns a list of block devices such as those exposed by SCSI/Sata, CCISS, IDA, LVM and Linux SOFT RAID; as well as any partitions on top of those. Devices in use by LVM and SOFT RAID are excluded. Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-02-11Fix indenting for lib-ui-interactive.sh and lib-blockdevices-filesystem.shpyther@pyther.net
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-02-10Make helptext variables localpyther@pyther.net
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-02-08simplify mapdev() API a bit, fix indentationDieter Plaetinck
2011-02-08Cleanup grub / label/uuid related codeDieter Plaetinck
* indentation fixes * simplify label/uuid code * simplify variable names * remove some cruft * fix/improve some code and spelling
2011-02-08Moved kernel parameter generation into get_kernel_parameterspyther@pyther.net
The function now stores parameters into var kernel_parameters. The new function does not set the kernel name (vmlinuz). This must now be done in the bootloader configuration code. Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-02-03remove mkinitcpio dependencyDieter Plaetinck
AIF does not depend on mkinitcpio. It only runs mkinitcpio chrooted in the installed target system
2011-01-29Use globbing and parameter expansion to get the raid slave devicespyther@pyther.net
Uses bash globbing and parameter expansion to find all of the slaves for a raid device. This is a much better method then using ls. Also, by looking at DEVNAME in the uevent file we provide support for block device that are not in the root of /dev. Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-01-29when using nullglob for specific sections, return to default bash behavior ↵Dieter Plaetinck
again afterwards
2011-01-29remove assure_pacman_static (), I think no one ever used this functionDieter Plaetinck
2011-01-29Improve logic which checks whether blockdevice is a raid devicepyther@pyther.net
device_is_raid now uses dev major number to determine if a device is a raid device. A major ID of 8 is a /dev/sd? device whereas a major ID of 9 is a 'metadata' (raid) device. Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-01-15add aif-test and aif-report-issues.sh to uninstall targetDieter Plaetinck
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-03Merge remote branch 'pyther/master'Dieter Plaetinck
2011-01-03fix exitcode for select_sourceDieter Plaetinck
2011-01-02Define grubmenu as a global variable instead of multiple local variablesMatthew Gyurgyik
2011-01-02make target_configure_fstab() properly support devicefiles, labels and uuidsDieter Plaetinck
2011-01-02unbreak interactive_configure_system menuDieter Plaetinck
was broken since 5c03ae0f698800e4cae751df078443e5fc461787
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>
2011-01-02allow changing proxy settings in configure systems menuDieter Plaetinck
2011-01-02Make configure system menu (and its code) prettierDieter Plaetinck
2011-01-02simplify default entry setting in interactive_configure_system menuDieter Plaetinck
2011-01-02Use local vars in execute ()Dieter Plaetinck
By using local variables, we prevent getting cwd's and object names getting mixed up during recursive calls. This fixes the configure_system worker not being registered as having run successfully, and preventing the user from going to the install bootloader step in the interactive procedure.
2011-01-02change mdraid_is-raid to mdraid_is_raidpyther@pyther.net
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-01-02change mdraid_all-slaves to mdraid_all_slavespyther@pyther.net
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
2011-01-01make sure all {pre,post}configure_target functions use good return codesDieter Plaetinck
target_configure_initial_keymap_font and target_configure_network would falsely return >0 in some occasions, causing unneeded warnings.
2010-12-31Inform user more in detail which pre/post-configure step went wrongDieter Plaetinck
* Move all pre/post-configure logic to separate functions (initcpio config, time setting, mirrorlist) * other steps will continue to be run, even if previous one(s) failed * at the end of the pre/post-configure step you will be warned which steps failed, if needed.
2010-12-31interactive show_report: hide info which is irrelevant for userDieter Plaetinck
2010-12-31fix correct worker display in interactive procedure reportDieter Plaetinck
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-31warn user networking needs to work firstDieter 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-29document dev/uuid/label device referencingDieter 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-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