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-16Adding safe methods for __repr__ to call so that it doesn't break (#1190)Anton Hvornum
2022-05-14Adds nvidia-open package as an option. (#1176)Dylan M. Taylor
* Adds nvidia-open package as an option. Apologies for making the installation even more confusing for Nvidia users. This adds an option for the new open-source kernel module for Turing or later cards, https://github.com/NVIDIA/open-gpu-kernel-modules. nvidia-open is currently in the testing repository. * Change description * Clarify that the other open option is noveau * Added a check to see if the package we include exists in testing or not, and if it does, we allow that repo and warn about it. * Forgot to put level= on log output * Adding __future__ to the top again * Expose package functions from archinstall.lib.packages to avoid explicit imports. * Trying to get menu to show additional changes * Trying a flexible option of setting the menu listings * Trying a flexible option of setting the menu listings * Revert "Trying a flexible option of setting the menu listings" This reverts commit 330080697d0b1ca9ba74f468fdcd36be7736904f. * Revert "Trying a flexible option of setting the menu listings" This reverts commit 701b105b1dd66933dacf11f0be49c521fec758fe. * Revert "Trying to get menu to show additional changes" This reverts commit b038987561ab7764f5d786c3e49789fb217419d7. * Revert "Expose package functions from archinstall.lib.packages to avoid explicit imports." This reverts commit 9244c0b1906b71074f2688210f3c46dc09cbc8c2. * Revert "Adding __future__ to the top again" This reverts commit 1679f00f2e901d093655de261bab4cee5f0a9d57. * Revert "Forgot to put level= on log output" This reverts commit 65618943880bdbddcdd3c7e3427da574d9bf7fed. * Revert "Added a check to see if the package we include exists in testing or not, and if it does, we allow that repo and warn about it." This reverts commit 652308ee40230ee8c70cf0c4f7225d1278788d4a. Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-05-12Fix menu selection (#1173)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-12Made sure remote sourcing works for --creds, --config and --disk-layout. (#1170)Anton Hvornum
* Made sure remote sourcing works for --creds, --config and --disk-layout. * Spelling error when moving around source code.
2022-05-10Updated ru locale and minor fixes (#1157)Alexmelman88
* Add files via upload * Add files via upload * Update global_menu.py
2022-05-10Fixes #1048 and translation updates (#1156)Daniel Girtler
* Remove comments from translation files * Add german translations Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
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>