Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2022-04-25Created a routine to check if a partition includes a certain mountpoint (#1069)Werner Llácer
For a btrfs volume with a subvolume to be mounted on /, we will not generate a keyfile anymore
2022-04-25We make the last action available beyond the run loop, so we can check why ↵Werner Llácer
run was exited (#1066)
2022-04-22Flexible order of menu options (#1078)Daniel
* Allow custom ordering of the menu entries * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-22Support for multiple network interfaces (#1052)Daniel
* Support for multiple network interfaces * Fix mypy * Fix flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-22Fix blockdevice key error (#1079)Daniel
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-14fix incorrect use of an (#1071)godalming123
2022-04-12Downstream new simple menu feature (#1055)Daniel
* Downstream new simple menu feature * Fix flake8 * Update * Fix flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-11This should address and resolve #587 (#1070)Anton Hvornum
* This should address and resolve #587 * Forgot one line from copying from local test script Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2022-04-03Partition.boot works now for GPT and MBR disks (issue #1061) (#1063)Werner Llácer
2022-03-29Fixed flake8Anton Hvornum
2022-03-29Correct exit when no disk is selected and we don't wish to continue (#1049)Werner Llácer
2022-03-28Fixed an import of not yet loaded moduleAnton Hvornum
2022-03-28Removed GlobalMenu from selection_menu.py as it's moved to it's own file.Anton Hvornum
2022-03-28Fixed an import of not yet loaded moduleAnton Hvornum
2022-03-28Fixed an import of not yet loaded moduleAnton Hvornum
2022-03-28moved GlobalMenu into lib/menu/global_menu.py insteadAnton Hvornum
2022-03-28Fixed an import of not yet loaded moduleAnton Hvornum
2022-03-28Fixed an import of not yet loaded moduleAnton Hvornum
2022-03-28Fixed an import of not yet loaded moduleAnton Hvornum
2022-03-28Fixed an import of not yet loaded moduleAnton Hvornum
2022-03-28Added missing imports (#1046)Anton Hvornum
2022-03-28Added error handling to fstab (#1045)Anton Hvornum
* Added error handling to fstab * Checking the exit code for == 0
2022-03-28Fix some mypy things (#1023)Daniel
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-03-28Clarify prompt text when providing superusers. (#1044)Patrick Schneeweis
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-03-28Subvolume User Interface (#1032)Werner Llácer
* Deflate the user interactions file * Fix flake8 * GlobalMenu split from selection_menu.py * Upgrades to ListManager: Can now show an empty list if there is no null action. More information to the user at the header * Put only_hd.py and swiss.py to use new config printing mechanism Solved a couple of bugs at ListManager adding a str and a DeferredTranslation ManageUser was missing an self argument in _check ... * Create list and menus to manage subvolumes in btrfs partitions Needed to modify manage_new_and_existing_partitions Added a new parameter filter to select_partition, to allow filtering there * Update internationalization strings Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-03-28Deflate user interactions (#1019)Daniel
* Deflate the user interactions file * Fix flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-03-28Issues with Network Management and user management in menu (#1036)Werner Llácer
* A problem with default values treatment at superusers (and users) on the main menu * Solving issues when changing the selection of nic, ask_to_configure_network failed in several places. Solved, temporarily with the creation of __getitem__ and get methods at NetworkManager * Accept old style definitions for nic * flake8 complains * log string corrected (issue 1039) * Correct exit when no disk is selected and we don't wish to continue
2022-03-16Improved color coding a bit. Added 5 more color options (not usable outside ↵Anton Hvornum
of 256-bit enabled terminals)
2022-03-10Additions to Listmgr et alia (#1028)Werner Llácer
* Permit multiple default actions as a list * Define headers for list at ListManager and Menu * small corrections for default values * Make subvolume info work. The real marker that signifies that a mounted subvolume exist is the bracket notation nor the at sign
2022-03-07Adding sudoers.d file instead of appending to sudoers (#1025)Eugênio Pacceli Reis da Fonseca
* Addresses issue #985: Add sudoers.d file instead of appending to sudoers * Fixed comment * Added string safety check for illegal chars before attempting to create a file. * Fixing commentaries * More fixes to the sudoers.d modification: adds an includedir to sudoers if sudoers.d did not exist previously, waits for python to close and release the new rule file before attempting to set its permissions to 440. * Regex fix and better code formatting.
2022-03-03Fix #1018 (#1021)Daniel
* Fix #1018 * Fix flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-03-01A couple of corrections for the user interface (#1017)Werner Llácer
* Preview size is now an argument for GeneralMenu Parameter missing in call to save_config * Update selection_menu.py Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
2022-02-28User Management via lists (#1008)Werner Llácer
* Fix user/superuser config * Fix flake8 * Remove timezone check since we have a default value now * Remove unused * add new widget ListManager * flake8 complains * Null_action appears now in the main list (to simplify additions to the list) Formatted data are now at the from to the actions submenu * Manage users thru a ListManagers * Define a default action in the menu, potentially independent of a null_action Both default and null actions don't have to be part of the element's action list Some cleanup Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-02-28Solves issue 1013 (#1016)Werner Llácer
2022-02-28Only set presets if presets are given. We should probably fix tghis in ↵Anton Hvornum
selection_menu.py line 636. But this solves an issue with broken harddrive selection for now.
2022-02-28Menu option save config (#1009)Daniel
* Add new save config menu option * Update * Fixed issue with merging * Fixed merge issue (I think) Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2022-02-28add new widget ListManager (#1005)Werner Llácer
* add new widget ListManager * flake8 complains * Null_action appears now in the main list (to simplify additions to the list) Formatted data are now at the from to the actions submenu * Define a default action in the menu, potentially independent of a null_action Both default and null actions don't have to be part of the element's action list Some cleanup
2022-02-28Rework network config (#1001)Daniel
* Update network configuration * Rework network configuration * Update documentation * Fix flake8 * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2022-02-28Fix (some) mypy things (#996)Daniel
* Fix mypy things * Fix flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-02-28Rework the user/superuser configuration (#993)Daniel
* Fix user/superuser config * Fix flake8 * Remove timezone check since we have a default value now * Remove unused Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2022-02-28Add password strength check (#983)komeil Parseh
* Add password strength check * Delete time.sleep and log, use the select class instead * Ignore W503 in flake8 * Solve some problems of the password strength check algorithm Part of the code was written by @phisch. This code tries to measure the strength of the user's password and suggests that the password is weak. * rename function * Restore the flake8 configuration file to its previous state
2022-02-28enhacements to the menu infraestructure (#978)Werner Llácer
* Correct definition of btrfs standard layout * Solve issue #936 * make ask_for_a_timezone as synonym to ask_timezone * Some refining in GeneralMenu secret is now a general function * Revert "Some refining in GeneralMenu" This reverts commit e6e131cb19795e0ddc169e897ae4df57a1c7f9fb. * Activate load of preset values in GeneralMenu Changed all select_functions definitions to the need of passing the preset value Corrected problems at ask_to_configure_network, and management of preset values added * minor glitches in menu processing, plus flake8 complains * Changes to ask_to_configure_network following @svartkanin code * select_language adapted to preset value. changes to the infraestructure to solve bugs * functions adapted for preset values * select_mirror_regions * select_locale_lang * select_locale_enc * ask_for_swap * Updated to preset values * ask_for_bootloader Won't use it * set_root_password() * Updated to preset values * ask_for_audio_selection * select_kernel * ask_for_a_timezone * Updated to use preset values * select_ntp * ask_ntp * ask_for_swap flake8 complains * Adapted to preset values * ask_additional_packages_to_install (from svartkanin) * ask_to_configure_network (adapted from svartkanin version) * Updated to preset values * ask_hostname * select_additional_repositories * bug in nic conversion _select_harddrives adapted to preset_menu
2022-02-27Fix #1006 (#1007)Daniel
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-02-23Issue992 (#1004)Werner Llácer
* Solves issue 992 * flake8 complains Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-02-18Check if pacman is available (#958)Daniel
* Check if pacman is available * Update pacman call * Added a graceful wait to `run_pacman` * Fix flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
2022-02-15Fix #966 - DeferredTranslation errors (#976)Daniel
* Fix #966 * Add types to parameters * Update network configuration * Backwards compability for nic config * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-02-13Switch from flags to an 'additional repository' menu (#977)Dylan M. Taylor
* Add multilib flag to enable this repository and enable multi-lib testing if testing flag is also passed * Fix comments * Attempt to force pacman to use the config file from the host * Make sure the pacman configuration is copied to target * flake8 * Call enable on additional-repositories * Add method to select additional repositories * Add menu option for additional repos * This is a bit cleaner than having it all on one line * Add import * Use [] as default instead of None * Use empty array for default option here * Try this to ensure a valid array is returned on skipping * Add additional-repositories to schema * Missed changing this comment earlier
2022-02-13Set the default timezone to UTC in the menu (#981)Dylan M. Taylor
It's already the default, this just keeps the user from needing to make the selection
2022-02-13Use archlinux as the default hostname (#979)Dylan M. Taylor
2022-02-13Add multilib flag and enable multilib-testing if testing flag is also passed ↵Dylan M. Taylor
(#975) * Add multilib flag to enable this repository and enable multi-lib testing if testing flag is also passed * Fix comments * Attempt to force pacman to use the config file from the host * Make sure the pacman configuration is copied to target * flake8