Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2023-03-29Use `pacstrap -K` (#1693)codefiles
2023-03-29Save encryption configuration (#1672)Daniel Girtler
* Save encryption configuration * Fix deserialization problem * Added .part_uuid to MapperDev --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se> Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
2023-03-27Added .part_uuid to MapperDev (#1691)Anton Hvornum
2023-03-26Improved handling of .json() helper handling. By dumping it with the ↵Anton Hvornum
JsonEncoder and loading it back in we ensure that any recursive objects also meers the json friendly dict criterias. (#1689)
2023-03-26Check if line begins with 'warning' before adding it to package info (#1674)Lautron
* Check if line begins with 'warning' before adding it to package info, fix #1673 * Implement @Torxed suggestion from #1674 * Replaced 4 spaces with 1 tab --------- Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-03-26Partition creation prompt text (#1683)Murphy
* new prompt text * remove quotes
2023-03-26Change exit status indications to exit codes (#1685)codefiles
2023-03-14Fix `exit_code` (#1679)codefiles
2023-03-14Fixed flake8 warnings (#1676)Yunus Emre Aydın
2023-03-10Initial swapfile prototype (#1558)chestwood96
* Initial swapfile prototype * add_swapfile different exception handling * Added error handling to add_swapfile prototype --------- Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
2023-03-10Error handling cmd history (#1560)mrvantage
* If we encounter a FileNotFoundError, the cmd_history.txt file or parent directory does not exist. This leads to vague errors upstream of cmd executable file not existing if this is the case. Probably this is a valid situation and we should just pass on the error.
2023-03-10Generate -fallback variant of boot entries for systemd-boot (#1583)Escape0707
* Generate -fallback variant of boot entries for systemd-boot --------- Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-03-10Add sector unit (#1668)Murphy
2023-03-10Sway profile - select seat (#1661)bd-g
* sway profile choose seat
2023-02-28Fixes mypy errors. (#1658)Himadri Bhattacharjee
2023-02-27Rename "peak_output" to "peek_output" (#1648)jaybent
* Rename "peak_output" to "peek_output" * Added backwards compatability * Added deprecated warning to peak_output --------- Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-02-27Patch for 1557 (#1645)Anton Hvornum
* Attempting a retry-attempt on the broken part of lsblk * Improved logging * Adding a retry to Partition._call_lsblk() * Added error checks if lsblk returns nothing, also handles empty Partition().info instance. * Added missing check of disk encryption is None or not. * Added tweak to catching output from lsblk.stderr * Added missing check of disk encryption is None or not. * Fixed a logic test for empty lsblk info * Fixed instances of None being interated * Added some errro handling for weird block devices * Fixed flake8 * Added /etc/vconsole.conf generation in Installer.mkinitcpio() as it's a dependency for it to generate properly without errors. Otherwise we'll get ==> ERRROR: file not found: '/etc/vconsole.conf' * Prep for tagging RC1 of 2.5.3 * Corrected helpers.py get_blockdevice_info() to deal with empty lsblk results
2022-11-17Removed absolut imports and used relative paths to preserve library usageAnton Hvornum
See #1520
2022-11-15Fix 1562 (#1564)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-11-13Remove HSM from global menu (#1559)Daniel Girtler
* Remove HSM from global menu * Update * Update * Removed sys import Unused import Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
2022-11-11New encryption menu (#1520)Daniel Girtler
* New encryption menu Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-11-11Remove intel_pstate kernel parameter (#1541)Gianmatteo Palmieri
2022-11-11Remove custom font setting (#1552)Daniel Girtler
* Remove custom font setting * flake8 * Remove default preview Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-11-04Fixed broken imports (#1548)Anton Hvornum
2022-10-12Removed debug outputAnton Hvornum
2022-10-12Muted a log outputAnton Hvornum
2022-10-12Muted a log outputAnton Hvornum
2022-10-12Updating Partition() information after mount and unmount. (#1508)Anton Hvornum
* Updating Partition() information after mount and unmount. * Cleaned up raw_parted() to gracefully output relevant partition error information. * Adding timestmap to cmd_history.txt as it's impossible to debug properly otherwise * Adding more verbose debugging information * Reinstating the lsblk retry code for PARTUUID and UUID on Partition()'s information * Added error handling for JSON parsing
2022-10-03Add hostname and locales as parameters to `minimal_installation()` (#1458)codefiles
2022-10-03Exclude archiso devices from selectable blockdevices (#1481)Daniel Girtler
* Exclude liveusb from disk selection * Exclude arch iso from being an option * Update * Update * Update * Mypy Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-09-21On certain hardware where virtual and physical harddrives share the same ↵Anton Hvornum
common name, a smart mapping is done and block devices will show up under /sys/class/block/ but not always under /dev/* and thus breaking the all_blockdevices() logic. This should fix that. (#1475)
2022-09-19Add compression to /etc/fstab for btrfs subvolumes (#1473)Anton Hvornum
* Adding a btrfs compression plugin to genfstab * Allowing the genfstab plugin to break on success
2022-09-11Update handling of unsupported translations (#1467)Daniel Girtler
* Handle unsupported fonts * Update archinstall/locales/README.md Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>
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)