Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2023-06-08Fix paths used for steps in keyfile creation (#1851)codefiles
* Fix paths used for steps in keyfile creation * Simplify
2023-06-05Fix 1749 (#1840)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-06-05Detect more modules requiring `alsa-firmware` (#1822)codefiles
2023-06-05Move locales and cleanup menu (#1814)Daniel Girtler
* Cleanup imports and unused code * Cleanup imports and unused code * Update build check * Keep deprecation exception * Simplify logging * Move locale into new sub-menu --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-15Improve Save configuration UI - (re)allow for directly specifying custom ↵bd-g
path (#1728) * align with newly merged master * retry save config * fix mypy error with str type - this menu with allows return a string * Removed unused import --------- Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-05-15Allowing for fg='color' in info, warn, error and debug. (#1818)Anton Hvornum
* Allowing for fg='color' in info, warn, error and debug. * Converted to a more static definition, mypy does not like magic. * Flake8 fixes
2023-05-15Add custom mirror support (#1816)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-12Install the package `alsa-firmware` if required (#1812)codefiles
2023-05-12Install the package `sof-firmware` if required (#1811)codefiles
2023-05-11Cleanup imports and unused code (#1801)Daniel Girtler
* Cleanup imports and unused code * Update build check * Keep deprecation exception * Simplify logging --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-07Fix default value idx in `_determine_cursor_pos()` (#1800)Daemon Coder
Co-authored-by: Daniel Girtler <blackrabbit256@gmail.com> Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-07Fix 1792 (#1795)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-07Fix 1793 (#1794)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-06Fix 1763 (#1790)Daniel Girtler
* Fix 1763 --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-06Fix NTP option (#1788)Daemon Coder
2023-05-05Fix `LsblkInfo` size field (#1787)Daemon Coder
2023-05-04Remove obsolete enabling of NTP in ISO (#1729)Daemon Coder
* Remove obsolete enabling of NTP in ISO * Fixed flake8 linting * Remove `activate_ntp()` * Update comment --------- Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-05-04Update `SysCommand()` calls in remaining files (#1707)Daemon Coder
2023-05-04Fix logic errors in `_fetch_lsblk_info()` (#1754)Daemon Coder
2023-05-04Fix 1780 (#1782)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-03Fixing starting of service via str argument (#1779)Anton Hvornum
2023-05-03Fix 1772 (#1773)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-03Full mypy compliance and small fixes (#1777)Daniel Girtler
* Fix mypy compliance --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-04-28Attempt to fetch partuuid multiple times (#1770)Daniel Girtler
* Attempt to fetch partuuid multiple times * Update --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-04-22Fix import and configuration loading issues (#1764)Daniel Girtler
* Fix import and configuration loading issues * Fix mypy --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-04-19PyParted and a large rewrite of the underlying partitioning (#1604)Daniel Girtler
* Invert mypy files * Add optional pre-commit hooks * New profile structure * Serialize profiles * Use profile instead of classmethod * Custom profile setup * Separator between back * Support profile import via url * Move profiles module * Refactor files * Remove symlink * Add user to docker group * Update schema description * Handle list services * mypy fixes * mypy fixes * Rename profilesv2 to profiles * flake8 * mypy again * Support selecting DM * Fix mypy * Cleanup * Update greeter setting * Update schema * Revert toml changes * Poc external dependencies * Dependency support * New encryption menu * flake8 * Mypy and flake8 * Unify lsblk command * Update bootloader configuration * Git hooks * Fix import * Pyparted * Remove custom font setting * flake8 * Remove default preview * Manual partitioning menu * Update structure * Disk configuration * Update filesystem * luks2 encryption * Everything works until installation * Btrfsutil * Btrfs handling * Update btrfs * Save encryption config * Fix pipewire issue * Update mypy version * Update all pre-commit * Update package versions * Revert audio/pipewire * Merge master PRs * Add master changes * Merge master changes * Small renaming * Pull master changes * Reset disk enc after disk config change * Generate locals * Update naming * Fix imports * Fix broken sync * Fix pre selection on table menu * Profile menu * Update profile * Fix post_install * Added python-pyparted to PKGBUILD, this requires [testing] to be enabled in order to run makepkg. Package still works via python -m build etc. * Swaped around some setuptools logic in pyproject Since we define `package-data` and `packages` there should be no need for: ``` [tool.setuptools.packages.find] where = ["archinstall", "archinstall.*"] ``` * Removed pyproject collisions. Duplicate definitions. * Made sure pyproject.toml includes languages * Add example and update README * Fix pyproject issues * Generate locale * Refactor imports * Simplify imports * Add profile description and package examples * Align code * Fix mypy * Simplify imports * Fix saving config * Fix wrong luks merge * Refactor installation * Fix cdrom device loading * Fix wrongly merged code * Fix imports and greeter * Don't terminate on partprobe error * Use specific path on partprobe from luks * Update archinstall/lib/disk/device_model.py Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> * Update archinstall/lib/disk/device_model.py Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> * Update github workflow to test archinstall installation * Update sway merge * Generate locales * Update workflow --------- 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> Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>
2023-04-19Remove superfluous time sync steps (#1752)codefiles
2023-04-04Fix sd-boot code duplication (#1721)codefiles
2023-04-01Make it easier to save configuration files (#1659)bd-g
* updated save menu for configuration files * add log message to TUI to let user know we may run for a second finding save directories * remove testing line * remove unnecessary non-relative import * fix bug when skipping save location * make save configuration translatable * fix linting errors * handle skip and reset options correctly * fix flake8 linting error --------- Co-authored-by: Anton Hvornum <anton@hvornum.se>
2023-03-30Guard against null in config processor (#1705)Bao
Fixes #1704
2023-03-30Update `SysCommand()` calls in `installer.py` (#1703)codefiles
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>