Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2022-05-09Introduce ctrl+c and other bug fixes (#1152)Daniel Girtler
* Intergrate ctrl+c * stash * Update * Fix profile reset * flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-08SysCommand now sets working_directory on SysCommandWorker. Also made it so ↵Anton Hvornum
the parent process moves back to the original working directory, leaving the child process in the target working directory. (#1142)
2022-05-08Fix alignment (#1139)Daniel Girtler
* Fix alignment * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-06Change the logging text of CPU vendor check (#1094)Владислав
* Fix small typo in the logging text of CPU vendor check * Make CPU check logging text unified
2022-05-06Fix minor issues (#1132)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-06Fix menu alignment (#1102)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-05Fix 1117 (#1126)Daniel Girtler
* Fix 1117 * Update * flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-02Fix 1091 and other minor fixes (#1103)Daniel Girtler
* Fix 1091 * Update * flake8 * Only display btrfs options if there is a filesystem * Fix 1118 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-02Fix #1106 (#1119)Daniel Girtler
* Fix #1106 * flake8 * flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-01Hotfix for plugins, forgot group=Anton Hvornum
2022-05-01The dict object is deprectrecated, instead .select() is suggested. (#1107)Anton Hvornum
* The dict object is deprectrecated, instead .select() is suggested. * removed copy paste issue * Removed tests, they'll be added in a separate PR
2022-04-29unlocked luks2 partitions were missing a BlockDevice parameter. It's ↵Anton Hvornum
technically not the true block device, as the mapper dev belongs to a partition, but in this context blockdev means the harddrive/medium that the partition (unlocked or otherwise) lives on. (#1100)
2022-04-29Fix #1096 (#1099)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-26Torxed issue 1083 (#1090)Anton Hvornum
* Optimized a bunch of partprobe calls. Namely fixed sleep calls, added optional path to the general archinstall.partprobe() call. And fixed some error handling in a few places which should tell us where #1083 might be going wrong. * Fixed some flake8 complaints * Fixed sleep having a min() of 0.1 or given value. * Fixed sleep having a correct range variable. * Fixed sleep logic to use max() instead of min() as it will never use the higer sleep values otheride * Added error handling to Partition().partprobe() as it would cause certain issues with USB disks. Also made Partition()._safe_uuid more safe by eliminating exceptions being raised.
2022-04-26Optimized a bunch of partprobe calls. (#1088)Anton Hvornum
* Optimized a bunch of partprobe calls. Namely fixed sleep calls, added optional path to the general archinstall.partprobe() call. And fixed some error handling in a few places which should tell us where #1083 might be going wrong. * Fixed some flake8 complaints * Fixed sleep having a min() of 0.1 or given value. * Fixed sleep having a correct range variable. * Fixed sleep logic to use max() instead of min() as it will never use the higer sleep values otheride
2022-04-26Added a try-rerun-except block to grub-install (#1085)Anton Hvornum
* Added a try-rerun-except block to grub-install first with --removable and then without if it fails. I have a sneaky suspicion that it's due to USB drives being the destination medium, but I cannot confirm yet. I've also added peak_output=True and --debug to GRUB so we can catch the issues in the future. * Fixed flake8 complaint
2022-04-26Adding compression as an option (#1084)Anton Hvornum
* Adding compression as an option * Ignore 'misaligned' ending parenthathese * Moved the 'mark compressed' logic into the sub block within manual disk operations. * Fixed flake8 complaints * Muting a complextion warning on manage_new_and_existing_partitions(). It is too complex, but not something that we'll bother with for v2.4.0. As this whole function could be replaced with a new and improved menu system split into tasks rather than one huge if/else.
2022-04-25Bumped up default timout, as 5 seconds is not enough for some platforms.Anton Hvornum
2022-04-25Require superuser or root password fixed. (#1082)Anton Hvornum
2022-04-25Set a 'default' argument for audio and removed it as a requirement to ↵Anton Hvornum
continue. (#1081)
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.