Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2021-05-15Merge pull request #437 from dylanmtaylor/patch-7Anton Hvornum
Don't list __init__.py files in profile list
2021-05-14Fix microcode not getting added to base_packages before installDylan M. Taylor
Update installer.py
2021-05-14Don't list __init__.py files in profile listDylan M. Taylor
2021-05-14Adding a fallback systemd-boot install if writing variables failed.Anton Hvornum
2021-05-14Adding in a default timeout to systemd-boot, but only if no other timeout ↵Anton Hvornum
was specified. Also fixes a regression bug with line endings in the loader configuration.
2021-05-14Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-350Anton Hvornum
2021-05-14Merge branch 'master' of github.com:archlinux/archinstall into ↵Anton Hvornum
torxed-kernel-params
2021-05-14Fixes string index error.Anton Hvornum
2021-05-12Merge branch 'master' of github.com:Torxed/archinstall into torxed-fix-350Anton Hvornum
2021-05-12Replaced the magic __builtin__ global variable. This should fix mypy ↵Anton Hvornum
complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me.
2021-05-12Merge pull request #427 from advaithm/mypyAnton Hvornum
some type hint fixes and a bad catch fix
2021-05-12Merge pull request #422 from arieboven/print_large_list_fixAnton Hvornum
fix error when there are to many options to print and calculation spaces
2021-05-12Merge pull request #379 from SecondThundeR/multi-select-updateAnton Hvornum
Update generic_multi_select and generic_select
2021-05-12some type hint fixes and a bad catch fixadvaithm
2021-05-08fix error when to many options and calculation spacesaboven
2021-05-06Add default graphics card driver optionSecondThundeR
2021-05-05Change graphics driver selection based on #414Dylan Taylor
2021-05-01Merge branch 'master' of https://github.com/archlinux/archinstall into ↵Anton Hvornum
torxed-partitioning
2021-05-01Merge pull request #405 from dylanmtaylor/patch-3Anton Hvornum
Tweak wording of superuser prompt for better consistency
2021-04-30Make the style of the word superuser consistentDylan M. Taylor
2021-04-30Tweak wording for superuser prompt a little bitDylan M. Taylor
2021-05-01Fix syntax errorbuilder_247
2021-04-30Revert disabling default sortingSecondThundeR
This change reverts a previous change that disabled sorting by default in the multi select function, which would be better disabled manually for pre-sorted lists than manually enabling for unsorted lists. Also, comments of the line check have been slightly changed
2021-04-30Adding support for kernel paramsAnton Hvornum
2021-04-30Moved/Created mkinitcpio funcAnton Hvornum
2021-04-30Moved mkinitcpio variablesAnton Hvornum
They now live as a installation-session variable. Not just minimal installation.
2021-04-30Merge pull request #398 from dylanmtaylor/patch-5Anton Hvornum
Partially revert hasUEFI grub/efibootmgr change to fix GRUB
2021-04-29Change how efibootmgr is installedDylan M. Taylor
Make changes suggested by Torxed
2021-04-29Partially revert hasUEFI grub/efibootmgr change to fix GRUBDylan M. Taylor
2021-04-29Update `user_interaction.py`SecondThundeR
- Reverted some changes for default options in multi select - Added check for dict and convert from dict to list - Replaced spaces with tabs for certain comment line
2021-04-29Fix multi select and video card driver selectionSecondThundeR
Changes: - Rephrased input text for kernel selection - Fixed crash with empty video card driver selection - Removed log info for default option
2021-04-29Update generic_selectSecondThundeR
Changes: - Moved some functions for options below checks for the correctness of passed options - Removed unnecessary `continue` from `except ...`, since the loop will return to the beginning anyway - Added stripping of `selected_option` straight on input - Changed check `len() == 0` to `not ...` - Returned changing string to number on check === - Removed '!' as they look weird inside such ` * ... * ` log style (Change for generic_multi_select)
2021-04-29Update generic_multi_selectSecondThundeR
Changes: - Add useful checks from `generic_select` - Sorting is now disabled by default (As many lists are already sorted) - Some checks have been changed (This includes unnecessary checks with `len()`, etc.) - Removed x, y from `print_large_list` as they aren't used in code - Added check for string to strip it without getting `AttributeError` - Switched to RequirementError handling as in `generic_select` - Added a log when the default option is selected with unselected options by the user - Added break when adding default option to empty list (See comments for more info) - Added support for selecting option by name
2021-04-29typo: none 0 is incorrect grammarDylan M. Taylor
2021-04-29Added a postgresql application profile. (#383)Anton Hvornum
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment. * Fixing top-level-listing of profiles. As well as testing some postgres installation steps. * Removed dupe functions. * Added safety check in case a comment mentions the top level profile thing. * Patching namespace corruption. * Avoiding runtime collision due to installation not being initiated yet. * Allow for parameterization of filesystem in guided. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29Cleaning up packages. (#374)Anton Hvornum
* Cleaning up packages. installer now relies on __packages__ definition. Which will work with external libs to more easily gather packages used by installer and profiles. * Added back the logic for the log message, where we inform if we're adding the boot loader to root or boot. * Added __package__ definition to profiles and the installer. These packages can be used as an indication from outside libraries of what could *possibly* be installed. For instance an offline-tool could source these, it would source more than it needed to, but it would give a quick rundown of what might be needed. * Removed import of __base__packages__ as it's now just __packages__ after a lot of stream-lining. * Explosion misspelling. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29Fixes #350 hopefully. This reverts an old hotfix to make systemd-boot work ↵Anton Hvornum
with dualboot variables. This **NEEDS** to be tested together with a Windows installation dual-boot setup, because this is where variable writing caused issues before.
2021-04-28Added a mini curses class and generic-multi-select (#362)Anton Hvornum
* Added a mini curses class. It can do some simple tricks to iterate over menu options and indicate which ones are chosen using generic_multi_select(). * Include the default parameter if set. * Modified 'select_kernel()' to use the new multi-select. * Sneaky character got in. * removed some debugging * removed some debugging * Spelling error * Adding error handling and loop support. * Enforce that 'default' is always selected if no other option is selected. * Fixed backspace issues and ghosting. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-28Corrected one indentation.Anton Hvornum
2021-04-28Corrected error handling for log creation.Anton Hvornum
2021-04-28Fixing permission error on non-root-runners accessing log()Anton Hvornum
2021-04-28Added a default descriptionAnton Hvornum
2021-04-28Update kernel selectSecondThundeR
Move select to separate function Remove 'continue' option Add hardened kernel as option
2021-04-28removed pdbadvaithm
2021-04-28log diffrent values when in bios modeadvaithm
2021-04-28trying to fix always failing bootloader installadvaithm
2021-04-28fixed kernel selectadvaithm
2021-04-28pdb traceingadvaithm
2021-04-27Merge pull request #344 from SecondThundeR/misc-cleanupAnton Hvornum
Misc. cleanup
2021-04-27Fixed a crash before choosing a video card driverВладислав