Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk
AgeCommit message (Collapse)Author
2024-05-09Fix 2479 - remove unnecessary partiton info field (#2485)Daniel Girtler
2024-04-24Fix debug message for unknown device type (#2472)correctmost
2024-04-23Fix 2191 - Handle unknown device/partition type (#2470)Daniel Girtler
2024-04-16Fix master merge conflicts from LVM branch (#2463)Daniel Girtler
2024-04-16Fix 2445 - handle no free spaces and deleted parittions (#2448)Daniel Girtler
2024-04-16Fix null fs_type of partition (#2458) (#2459)Hao Xiang
2024-04-15LVM support (#2104)Daniel Girtler
* Submenu for disk configuration * Update * Add LVM manual config * PV selection * LVM volume menu * Update * Fix mypy * Update * Update * Update * Update * Update * Update * Update * Update * Update LVM * Update * Update * Btrfs support * Refactor * LVM on Luks * Luks on LVM * Update * LVM on Luks * Update * Update * mypy * Update * Fix bug with LuksOnLvm and Btrfs * Update * Update * Info -> Debug output
2024-03-12Add udev sync before lsblk that follows formatting (#2412)codefiles
2024-03-11Fix Btrfs mount options (#2404)codefiles
2024-03-07Fix 2337 (and similar) - Ignore existing partitions (#2342)Daniel Girtler
* Fix 2337 * Update
2024-03-07Fix partition table commit (#2294)codefiles
2023-11-21Fix Limine bootloader deployment (#2216)czapek
* Add `get_unique_path_for_device` to `DeviceHandler` * Fix Limine bootloader deployment * Fail if UKI is enabled with Limine * Support more configuration options with Limine * Fix linter errors * Fix boot partition fs_type check for Limine
2023-11-20Remove superfluous use of `partprobe` (#2212)codefiles
2023-11-20Fix parsing pre-mounted disk configuration from configuration file (#2221)codefiles
2023-10-31Fix logic error in `_fetch_lsblk_info()` loop (#2196)codefiles
2023-10-03Extend the mypy checks (#2120)Daniel Girtler
* Extend the mypy checks * Update * Update * Update --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-10-02Simplify SysCommand decoding (#2121)Daniel Girtler
2023-10-02Fix missing info for pre-mounted disk configuration (#2143)codefiles
2023-09-29Add support for ESP partition flag (#2133)codefiles
2023-09-28Fix mount command whitespace (#2126)codefiles
2023-09-27Fix mount debug message (#2116)codefiles
2023-09-26Fix 2103 (#2114)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-26Fix `mountpoint` for pre-mounted disk configuration (#2113)codefiles
* Fix `mountpoint` for pre-mounted disk configuration * Add missing commas
2023-09-24Fix 1669 | Refactor display of sizes in tables (#2100)Daniel Girtler
* Use sector as default display * Display tables in sector size * Refactor size * Update * Update * fix flake8 --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-24Unify json functions (#2102)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-24Add support for loop devices (#2097)codefiles
2023-09-23Fix GRUB with non-/boot ESP (#2015)Thomas Aldrian
* Fix GRUB with non-/boot ESP Fixes #2001 * GRUB EFI fixes * Fix flake8 and mypy --------- Co-authored-by: Anton Hvornum <anton@hvornum.se> Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-21Fix `_add_efistub_bootloader()` partition number with partn (#2084)codefiles
2023-09-20Fix acquisition of UUID (#2077)codefiles
* Fix acquisition of UUID * Fix inadequate solution * Add check for UUID
2023-09-19Allow assigning mountpoint on existing partitions (#2067)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-18Fix many typos (#1692)Alexander Seiler
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-09-17fix: make nodatacow and compress mutually exclusive (#1998)Himadri Bhattacharjee
* fix: make nodatacow and compress mutually exclusive * fix: raise ValueError when both compress and nodatacow flags are set
2023-09-14Fix 1971 - manual partitioning (#2031)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-14Fix Bootloader installation (#2032)Daniel Girtler
* Fix broken path * Update * Update --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-09-14Default to unknown on partition types (#2037)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-07-30Muted partprobe (#1964)Anton Hvornum
* Muted partprobe * Missing import
2023-07-25Fix 1916 (#1920)Daniel Girtler
* Do not stdout when menu is active * Handle missing libfido2 gracefully * Update --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-07-25Fix boot partition regression (#1942)codefiles
* Fix boot partition regression * Fix spelling
2023-07-17Enable separate /boot and /boot/esp via XBOOTLDR in systemd-boot (#1859)Anton Hvornum
* Disabled /boot check for now * Making '/boot' more dynamic * str() on boot_partition didn't work * _pacstrap -> pacman.strap() * Added 'finding' the EFI partition logic * f-string qotations * Locked down so get_boot_partition() looks for /boot and get_efi_partition() looks for /boot/efi - essentially hardcoding it for now, as there's no easy way to distinguish between the EFI partition or BOOT partition if they are both FAT32 for some reason. * Added some debugging output * Fixed some mypy complaints * Fixed PosixPath() vs str comparison * Changed FAT32 comparitor, should be FilesystemType.Fat32 now * Fixed PosixPath() vs str comparison * Re-ordered _add_systemd_bootloader() argument order, to match the other functions. This will cause the function to break on scripts that call this explicitly. * is_boot() now returns True if any type of valid boot flags are set, not just the 'Boot' flag. This allows us to check for XBOOTLDR flag as well. * Converted static INT to _ped.PARTITION_<flag> definition. This matches the way pyparted checks for flags on partitions. * /boot/efi -> /boot/EFI (while the recommendation from bootctl is to mount it to /efi, I want to test it with custom paths first) * Removed _ped from mypy checks * flake8 fix * Added ESP flag to partitions * Added more docs in the docstring * Renamed *efi_partition to *xbootldr_partition within this PR changes * Naming collision, PartitionType -> PartitionGUIDs to avoid overwriting existing PartitionType * Check for XBOOTLDR instead of fixed EFI mountpoint in get_xbootldr_partition() * Mixed up XBOOTLDR and EFI partitions a bit, brought back get_efi_partition() which now filters out XBOOTLDR partitions and only returns a partition when there is a boot partition found by get_boot_partition() * Fixed symbiosis between get_boot() and get_efi() so that they don't report the same potential partition * Removed debugging code * Improved comments surrounding why /loader/ rather than /loader/ - this may change
2023-06-29Skip rom devices (#1906)codefiles
2023-06-28Fix 1875 (#1880)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-06-23fix: define ret as Optional[str] before reassignment in get_fido2_devices ↵Himadri Bhattacharjee
(#1894)
2023-06-22Fix crash when libfido2 is not installed (#1893)ArtikusHG
Co-authored-by: ArtikusHG <artiomoleynic@gmail.com>
2023-06-21Rename encryption method (#1888)Daniel Girtler
* Rename encryption method * Update --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-06-21Fix 1862 (#1884)Daniel Girtler
* Fix 1862 * Update --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
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 1793 (#1794)Daniel Girtler
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2023-05-05Fix `LsblkInfo` size field (#1787)Daemon Coder
2023-05-04Update `SysCommand()` calls in remaining files (#1707)Daemon Coder
2023-05-04Fix logic errors in `_fetch_lsblk_info()` (#1754)Daemon Coder