Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk.py
AgeCommit message (Collapse)Author
2021-05-15Fix some variable shadowing issuesDylan Taylor
2021-05-15Perform refactoring to PEP 8 naming conventionsDylan Taylor
2021-05-15Merge branch 'lxqt-lightdm' into formatting2Dylan Taylor
2021-05-15Fix missing Optional importDylan M. Taylor
2021-05-15Merge pull request #450 from charlesvdv/masterAnton Hvornum
propagate options when mounting a partition
2021-05-15Remove some redundant parenthesisDylan Taylor
2021-05-15More formatting fixes to satisfy PEP 8Dylan Taylor
2021-05-15Fix E101: mix of spaces and tabsDylan Taylor
2021-05-15propagate options when mounting a partitionCharles Vandevoorde
2021-05-15f-string fixesDylan Taylor
2021-05-15Whitespace changesDylan Taylor
2021-05-15Cleanup imports and disk.py a bit moreDylan Taylor
2021-05-15Many more manual changesDylan Taylor
2021-05-12some type hint fixes and a bad catch fixadvaithm
2021-05-01Merge branch 'master' of https://github.com/archlinux/archinstall into ↵Anton Hvornum
torxed-partitioning
2021-04-29Added a postgresql application profile. (#383)Anton Hvornum
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment. * Fixing top-level-listing of profiles. As well as testing some postgres installation steps. * Removed dupe functions. * Added safety check in case a comment mentions the top level profile thing. * Patching namespace corruption. * Avoiding runtime collision due to installation not being initiated yet. * Allow for parameterization of filesystem in guided. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-28Added a mini curses class and generic-multi-select (#362)Anton Hvornum
* Added a mini curses class. It can do some simple tricks to iterate over menu options and indicate which ones are chosen using generic_multi_select(). * Include the default parameter if set. * Modified 'select_kernel()' to use the new multi-select. * Sneaky character got in. * removed some debugging * removed some debugging * Spelling error * Adding error handling and loop support. * Enforce that 'default' is always selected if no other option is selected. * Fixed backspace issues and ghosting. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-27Moving away from custom log levels, to something that's well defined. (#360)Anton Hvornum
* Moving away from custom log levels, to something that's well defined. * Added backward compability to log() as well. * Added an option to force log messages out on screen even if the level is below the log level threashold. * Added force log messages when wrong notation is used. * Added some more length to the deprecated message * Swapped all log levels to use logging.<level> instead. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-16Adding debug data to the log. It will now contain lsblk before and after the ↵Anton Hvornum
installation to help with detecting any potential information. Also removed a traceback log that was for debugging purposes.
2021-04-12Merge branch 'master' into torxed-v2.2.0Anton Hvornum
2021-04-10Show size in partition string representationDylan Taylor
2021-04-10Modified encrypted partitions to use partuuid for now.Anton Hvornum
2021-04-09Removed some debugging.Anton Hvornum
2021-04-09Attempting to correct some inconsitencies in disk-parent reporting.Anton Hvornum
2021-04-09Attempting to correct some inconsitencies in disk-parent reporting.Anton Hvornum
2021-04-09Attempting to correct some inconsitencies in disk-parent reporting.Anton Hvornum
2021-04-09Attempting to fix auto-detection of encrypted drives. So that #124 can ↵Anton Hvornum
perform reverse detection on partitions and detect encryption.
2021-04-09Attempting default value None for block device to partition.Anton Hvornum
2021-04-09Wrong variable nameAnton Hvornum
2021-04-09Added disk helper function get_partitions_in_use(). Which returns which ↵Anton Hvornum
partions are being used at a given mount location, including children.
2021-04-09Wrong variable.Anton Hvornum
2021-04-09Made sure the mount target path exists before mounting.Anton Hvornum
2021-04-07Merging changes from master into feature branch to avoid future conflics.Anton Hvornum
2021-04-04Fixes: AttributeError: 'BlockDevice' object has no attribute 'keep_partitions'Anton Hvornum
2021-04-04encryption_passwed -> encryption_passwordAnton Hvornum
2021-04-04Fix misspellingsRafael Fontenelle
2021-04-04Merging in latest changes from master.Anton Hvornum
2021-04-03Forgot option PARTUUID to lsblkAnton Hvornum
2021-04-03Merging in latest changes from master.Anton Hvornum
2021-04-03This should fix #151, by using lsblk instead of /dev/disk/by-partuuid. It ↵Anton Hvornum
also cleaned up the installer code quite a bit during the bootloader installation. Will do the same for encrypted drives later on by implementing UUID on a BlockDevice (disk) level.
2021-04-03This should correct #152. When a newly /boot partition is created with no ↵Anton Hvornum
content or incorrect filesystem (meaning, no file system yet), the .has_content() call will crash due to incorrect fstype. Which means we should be able to skip the check and assume it's safe to format. Because there's no way (?) other OS:es can store something on the boot partition on a broken FS.
2021-04-03Converted the raise exception into a log. Whenever blockdevice is unsure of ↵Anton Hvornum
what type it's working on, it will not log it as a debug message.
2021-04-03Removed a breaking change while fixing hardware raidsAnton Hvornum
2021-04-03This partially addresses #151. Which might require more than just the path ↵Anton Hvornum
being returned. As the blkid might not be correctly identifying it in the bootloader step. But we'll have to test and see.
2021-04-02Merge branch 'exec-args' of https://github.com/kpcyrd/archinstall into ↵Anton Hvornum
torxed-v2.2.0
2021-04-02Support passing commands as listskpcyrd
2021-04-02accidentlly called dict as functionadvaithm
2021-04-02fixed some issues with the changesadvaithm
2021-04-02updated to latest commitsadvaithm
2021-03-29Removed debugging and finalized fix.Anton Hvornum