Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
AgeCommit message (Collapse)Author
2021-03-14Using 'umount -R' rather than just 'umount' since we're going to wipe the ↵Anton Hvornum
partition, we need do unmount anything that's mounted beneeth it to continue.
2021-03-14Removed redundant error handling as well as added some more debug logs.Anton Hvornum
2021-03-14Enhanced the error handling on crypt-devices.Anton Hvornum
2021-03-14Some more error handling.Anton Hvornum
2021-03-14Added alias umount() to unmount().Anton Hvornum
2021-03-14Added some error handling for umount().Anton Hvornum
2021-03-14Wrong variable name.Anton Hvornum
2021-03-14Tweaked SysCallError() exception to include the exit code in a machine ↵Anton Hvornum
readable manner. Since it's useful as an indicator where calls might go wrong and for what reason.
2021-03-14Added a partition.umount() and a check when running cryptsetup if the disk ↵Anton Hvornum
is in use.
2021-03-14Removing hardcoded boot-loader config name. #51.Anton Hvornum
2021-03-09Fixed mirror-region parameter selection. Converting to actual mirrors.Anton Hvornum
2021-03-09Carried over the allow_formatting from the parent device of luks2() devices.Anton Hvornum
2021-03-09Forgot to set a variableAnton Hvornum
2021-03-09Added option to skip autodetection of filesystem. This is so for instance ↵Anton Hvornum
luks2() can override any auto-detection that revers back to the parent device of the mapped device, which would be crypto_LUKS instead of None for the inner partition.
2021-03-09Added some debugging.Anton Hvornum
2021-03-09Tweaked the filesystem definition setup for Partition(). Overriding it ↵Anton Hvornum
programatically should be possible for some meta stuff.
2021-03-09Added some debugging.Anton Hvornum
2021-03-09Fixed luks2().close() to properly detect it's own mapped pathAnton Hvornum
2021-03-09Fixed luks2().close() to properly detect it's own pathAnton Hvornum
2021-03-09Fixed a issue with blkid where it would raise an exception when there was ↵Anton Hvornum
not filesystem on the partition.
2021-03-09Fixed a issue with blkid where it would raise an exception when there was ↵Anton Hvornum
not filesystem on the partition.
2021-03-09Added functions to auto-detect filesystems inside encrypted partitions ↵Anton Hvornum
(given a password)
2021-03-09Debugging some tweaksAnton Hvornum
2021-03-09Debugging some tweaksAnton Hvornum
2021-03-09Debugging some tweaksAnton Hvornum
2021-03-09Debugging some tweaksAnton Hvornum
2021-03-09Removed hardcoded partition numbers when acessing partitions. As the order ↵Anton Hvornum
is not fixed and more options to disk layouts have been added.
2021-03-09Forgot to return self in Filesystem()Anton Hvornum
2021-03-09Marking the root partitions as encrypted if a disk password is set. In the ↵Anton Hvornum
future, we need to make this a bit more flexible by allowing multiple partitions to be encrypted. But for now, the main partition should be enough.
2021-03-09Fixed an issue where Partition() instances got overwritten every time ↵Anton Hvornum
disk.partitions were called. Causing flags such as .encrypted to be dropped. This should make for a more stable experience when working with the partitions.
2021-03-09Adding encryption helpers to the Partition() class, that sets up and ↵Anton Hvornum
utilizes luks2.encrypt() in extension.
2021-03-08Fixed 'mount point does not exist' on temporary mount point.Anton Hvornum
2021-03-08Optimization, safe_to_format() now checks partition.allow_formatting as a ↵Anton Hvornum
condition.
2021-03-08Added two new functions. partition.safe_to_format() and ↵Anton Hvornum
partition.has_content(). The first does some sanity checks to verify if we can format the partition or not. The second temporarly mounts the parition and checks if there's content inside and returns accordingly.
2021-03-08Reworked the guided partitioning logic to better match new expectations of ↵Anton Hvornum
flexability. Still some work to be done and features to be implemented, but the structure is taking place
2021-03-08Removing part of the old formatting scheme. New implementation roughly 80% done.Anton Hvornum
2021-03-08Tweaked logging slightly.Anton Hvornum
2021-03-08Fixed the JSON_Encoder. The issue was that dictionaries are mutable, and ↵Anton Hvornum
dumping dictionaries and replacing keys also replaces the original value.
2021-03-08Added some debugging.Anton Hvornum
2021-03-08Added some debugging.Anton Hvornum
2021-03-08Added some debugging.Anton Hvornum
2021-03-08Fixed expected return value from ask_for_disk_layout(). I think I have to ↵Anton Hvornum
throw an eye on generic_select() and it's expected return value in general.. But that's later.
2021-03-08Added a abort messageAnton Hvornum
2021-03-08Added a abort messageAnton Hvornum
2021-03-08Added a small menu instead of a one-liner to select what to do with the disk ↵Anton Hvornum
if it has partitions.
2021-02-17Testing auto-filter in the JSON encoder based on ! points markering ↵Anton Hvornum
sensitive data.
2021-02-17Removed redundant variableAnton Hvornum
2021-02-17Added some forgotten importsAnton Hvornum
2021-02-17Variable mistakeAnton Hvornum
2021-02-17Variable mistakeAnton Hvornum