Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2022-09-10Update pot file, ru locale (#1465)Alexmelman88
* Update general_conf.py * Add files via upload * Add files via upload
2022-09-07Update the action text (#1462)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-09-07Fix translation fonts (#1461)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-09-06Move deserialization into init (#1456)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-30Fixing issue where blkid causes SysCallException (#1445)Anton Hvornum
* Moving a partprobe() call to better allow for cache updates * Trying to improve Partition()._fetch_information() * Removed a sleep() for debugging purposes * Tweaked a sleep
2022-08-30Homogenize language option during handling (#1446)Anton Hvornum
* Adding a more elaborate fix * Added recovery function to selecting language too * Tweaked return value of display_language() to return the Language() object.
2022-08-28Removed debuggingAnton Hvornum
2022-08-28Fix permission flags on all the log files created (#1440)Anton Hvornum
* Changed permissions on the logs stored in /var/log/archinstall. Also cleaned up one of the saves to have the same syntax as the others * Tweaked secondary encryption password detection logic, as it wouldn't take it from the main arguments[] otherwise. * Changed permission on cmd_output.txt * Changed permission on cmd_history.txt
2022-08-14Fix boot entry containing subvolume definition when no subvolumes were ↵Anton Hvornum
selected (#1424) * Attempting fix by looking at the subvolume 'name', <FS_TREE> should indicate it's a root block and not a root subvolume
2022-08-12Fixing double insertion of encoding in locale.gen/locale.conf (#1421)Anton Hvornum
* A temporary fix for #1200, in the long run we need something like what was mentioned in the issue comments: https://github.com/archlinux/archinstall/issues/1200#issuecomment-1212754806 * Enabled the use of modifier detection and getting it in right * Mistaken a split * Adding less strict decoding of output log, this in order to handle the more correct locale generation introduced in this PR.
2022-08-12Spelling error on .replace()Anton Hvornum
2022-08-12Fix flake8 issue that slinked in.Anton Hvornum
2022-08-12Fixed small issues with how Installation.chown() was called.Anton Hvornum
2022-08-11Cleaned up argument loading slighly. (#1419)Anton Hvornum
* Cleaned up argument loading slighly. Also flipped some --silent logic to avoid double negatives. --plugin and --conf {'plugin': ...} should now both work. * Tweaked xorg profile to use list instead of strings. Because strings causes some issues through add_additional_packages() as it ends up as [(xorg, xorg-xinit), nano] instead of a flat list of packages or string. * Tweaked xorg profile to use list instead of strings. Because strings causes some issues through add_additional_packages() as it ends up as [(xorg, xorg-xinit), nano] instead of a flat list of packages or string.
2022-08-11Fix check for additional repositories (#1391)codefiles
* Fix typos * Fix check for additional repositories
2022-08-10Fixing a list access issue (#1416)Anton Hvornum
2022-08-10Adding better error output for when loading remote configurations goes ↵Anton Hvornum
wrong. (#1415)
2022-08-09Fixes for known issues in the Parallel Download option (#1403)Abhay Mohandas
* Adding menu * Working on parallel downloads * error updates * updates * update * Few more updates * bug fixes * More bug fixes * Minor bug fixes * Few changes * Minor changes * Cleaned up add_number_of_parrallel_downloads() and hid it behind --advanced * Forgot one import * Fixed flake8 * Bug fixes * I'm trying... * trying again * trying even more * Bug fixes * Fixed known issues * Code improvements * Few fixes * Minor changes * Minor changes * Trying to fix flake8 Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-08-09Converted paths to pathlib.Path and mount points to detect properly (#1412)Anton Hvornum
* Converted a path to pathlib.Path * Using Partition.mountpoints instead of Partition.mountpoint * Update mapperdev.py * Added .mountpoints to MapperDev * Spelling error
2022-08-09Adding a .json() call for our JSON serializer for the Language class (#1410)Anton Hvornum
* Adding a .json() call for our JSON serializer * Update translationhandler.py
2022-08-01Option for Parallel Downloads (#1397)Abhay Mohandas
* Adding menu * Working on parallel downloads * error updates * updates * update * Few more updates * bug fixes * More bug fixes * Minor bug fixes * Few changes * Minor changes * Cleaned up add_number_of_parrallel_downloads() and hid it behind --advanced * Forgot one import * Fixed flake8 Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-08-01fix `valid_parted_position()` (#1382)Samaoo
* fix `valid_parted_position()` * make lines shorter * change `pos` to `pos.lower()` * revert changing `if not len(pos):` to `if not pos:` * `b` can not have decimal places * add `.lower()`
2022-08-01enhacements to FormattedOutput (#1376)Werner Llácer
* enhacements to FormattedOutput * flake8 complain
2022-08-01restoring ability to use a predefined installation directory (#1373)Werner Llácer
2022-08-01Change regex expression only to match #[multilib] string (#1364)0xShree
* Changed regex expression only to match [multilib] string * Update multilib regex expression * Update regex expression Add raw string format
2022-08-01Handle no internet connection gracefully (#1361)Daniel Girtler
* Handle no internet connection gracefully * Update * flake8 * Update * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-01Downstream merged simple menu changes (#1356)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-01Solves issue 1343. Could not locate partition after creation (#1355)Werner Llácer
* Solves issue 1343. Could not locate partition after creation * Added some flake fixes. Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-08-01- Fix KeyError exceptions (#1354)virtual-meme-machine
2022-08-01Update translations (#1348)Daniel Girtler
* Show translations in own tongue * Fix flake8 * Update * Update * Update * Update * fix mypy * Update * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-08-01Enhacements to list_manager: (#1346)Werner Llácer
* Enhacements to list_manager: method filter_option. To filter options based on selected entry attrib. last_choice. Which is the last action executed before exiting the loop * last_choice is now a calculated attribute, therefore readonly * Added last_choice to selection_menu * bug at selection_menu handling. Translations can be a problem
2022-08-01Remove the hash/number sign at the line-start (#1345)Fabian Bornschein
Currently the helper remove the first character of each line, this can lead to cases, where important characters are removed. For example if the locale is already set up. (hash is already removed) in that case the helper would remove the first character of the locale and lead to a broken attempt to set the locale later on. This change should avoid that and only remove the hash. Co-authored-by: Fabian Bornschein <2440175-fabiscafe@users.noreply.gitlab.com>
2022-07-26Cleanup partition (#1333)Daniel Girtler
* Cleanup partition * Update * Remove unused method * Update partitioning * Update * Update * Fix mypy Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-14Update list manager (#1331)Daniel Girtler
* Rework partition management * Update * Update list manager * Update * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-09Fancy user interface (#1320)Daniel Girtler
* Display submenus as tables * Update * Update * Update * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-07Fix disk layout display (#1314)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-07Updated base.pot, languages.json, global_menu.py, ru locale (#1292)Alexmelman88
* Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload
2022-06-07Update blockdevice (#1289)Daniel Girtler
* Update blockdevice class Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-06Update the subvolume menu - fix for #1278 (#1297)Daniel Girtler
* Update subvolume * Add mypy compliance Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-06-06Handle cyrillic characters (#1309)Daniel Girtler
* Handle cyrillic characters * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-06Fix #1304 - Make password validation less intrusive (#1308)Daniel Girtler
* Make password validation less intrusive * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-06-02Added more offline functionality, such as skipping package search (#1296)Anton Hvornum
* Added more offline functionality, such as skipping package search * Disabled list_mirrors() from going online if --offline is given. Defaults to /etc/pacman.d/mirrorlist instead. * Forgot import of pathlib * Made list_mirrors() open /etc/pacman.d/mirrorlist in byte mode to better emulate the result of urllib response reading. * Forgot variable declaration * Made list_mirrors include activated server definitions
2022-05-29Made sure generate-encryption-key-file is set for supplementary partitions ↵Anton Hvornum
to / (#1281)
2022-05-29Cleanup and version changes in prep for releaseAnton Hvornum
2022-05-29Fix subvol selection (#1277)Daniel Girtler
* Fix subvolume selection * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-29Moved genfstab() to guided.py instead of __exit__ of Installer(). This is a ↵Anton Hvornum
breaking change.
2022-05-29Fix "Unknown device" error when using erofs (#1232) (#1275)demostanis
2022-05-29Fix typos (#1265)Kian-Meng Ang
2022-05-29Don't offer to encrypt /boot, exlude it from the set available to the user ↵Dylan M. Taylor
(#1273) * WIP: Don't offer to encrypt /boot * This filter might work * Ref: https://github.com/archlinux/archinstall/blob/master/archinstall/lib/storage.py * Use list comprehension * I wonder if I can use this filter_ argument that exists already * flake8 fix * Show index
2022-05-28Fix issue with multiples spaces in additional packages (#1262)Dylan M. Taylor
* Try to fix issue 1259 * trim -> strip