Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2021-04-05Fix incorrect behavior for empty sudo usernameSecondThundeR
2021-04-05Update regex rule and move check to a functionSecondThundeR
2021-04-05Replace lowercase conversion with correct checkingSecondThundeR
2021-04-04Add lowercase conversion for usernamesSecondThundeR
2021-04-04Merge branch 'master' into fix-repo-urlAnton Hvornum
2021-04-04encryption_passwed -> encryption_passwordAnton Hvornum
2021-04-04Update repo to archlinux/archinstallRafael Fontenelle
2021-04-04Fix misspellingsRafael Fontenelle
2021-04-03Forgot option PARTUUID to lsblkAnton 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-03This should correct #135. I'll have to investigate other places where this ↵Anton Hvornum
logic might be as well and correct those.
2021-04-03Fixes #149 as well as --help. This will be added in the next patch release.Anton Hvornum
2021-04-02Join cryptsetup args using shlexPyfisch
Ensure that all arguments are properly quoted. Improve readability by using long-form arguments only. Use identical arguments for both cryptsetup calls, to prevent them from accidentally diverging in future commits.
2021-04-02Merge pull request #134 from conqp/masterAnton Hvornum
General code cleanup
2021-04-01Missing variableAnton Hvornum
This should fix #135
2021-04-01Remove useless __init__ methodsRichard Neumann
2021-04-01Move class-related docstring to class definitionRichard Neumann
2021-04-01Simplify boolean checksRichard Neumann
2021-03-30Add range check to disk selectionkpcyrd
2021-03-30Add range check to generic_selectkpcyrd
2021-03-29Removed debugging and finalized fix.Anton Hvornum
2021-03-29Added some debugging.Anton Hvornum
2021-03-29Adding .encrypted logic after .format calls to correctly identify partitions ↵Anton Hvornum
as encrypted/not-encrypted. This after a .flush_cache has been called.
2021-03-29Added some debugging.Anton Hvornum
2021-03-29Reworking cache logic to not loose .encrypted flag on partitions after ↵Anton Hvornum
flushing cache.
2021-03-29Rolling back change to check parent blockdevice for safe formatting, it ↵Anton Hvornum
would wipe the boot partition if the boot partition for multiple drives was shared on the specific drive.
2021-03-29Removing a flush of the cache that was excessive.Anton Hvornum
2021-03-29Experimenting with cache, carrying over .allow_formattingAnton Hvornum
2021-03-29Experimenting with carrying over flags across cache flush. This to solve ↵Anton Hvornum
issues when flush is cleared and target mountpoints gets lost, making it impossible to do .find_mountpoint('/') later on for instance.
2021-03-29Allowing individual partitions safety checks to rely on the parent ↵Anton Hvornum
blockdevice keep_partitions status.
2021-03-29Added support for flushing a BlockDevice() cache after a partition has been ↵Anton Hvornum
formatted. This is to avoid internal confusion of which partitions are encrypted or not when going from Encrypted -> Un-encrypted setups.
2021-03-29Toned down the debugging a bit.Anton Hvornum
2021-03-29Moved some debugging to catch more variable settings.Anton Hvornum
2021-03-29Adding callstack to debug output for easier debugging. Removed hardcoded ↵Anton Hvornum
debug crash
2021-03-29DebuggingAnton Hvornum
2021-03-29Merge pull request #123 from Torxed/torxed-v2.2.3Anton Hvornum
Reverting .strip() logic and moving the check into the get_password()…
2021-03-29Reverting .strip() logic and moving the check into the get_password() function.Anton Hvornum
2021-03-29Fix spelling error in filesystem choiceDidr
Fixes a simple spelling error when the user is asked to select a filesystem. "Select which filesystem your main partition should use (by number **of** name)" should be **or**.
2021-03-29Fixing rare occation where partitions dissapear just before .format().Anton Hvornum
2021-03-29Fixing un-encrypted drives matching on block encrypted.Anton Hvornum
2021-03-28Added some more useful debug data to the log.Anton Hvornum
2021-03-28Adding debug to correct for a potential issue where partitions get marked as ↵Anton Hvornum
encrypted even tho \!disk-password was neven set.
2021-03-28Fixed a path-check issue with Time Zones.Anton Hvornum
2021-03-24Fixes an issue with completely empty hard drivesAnton Hvornum
If empty hard drives are being set up for the first time, then `.has_content()`'s `mount` call will fail with `wrong fstype` since there's no filesystem yet. First step in this case is to check for that scenario, then check for content.
2021-03-24Removed vfat as an option for the root partitionAnton Hvornum
2021-03-23Also setting cwd (bad choice of name) to the workdir if one was specified. ↵Anton Hvornum
Which makes the trace.log to end up in the workdir as well.