Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-14Made add_bootloader() a little bit more robust, it shouldn't overwrite the ↵Anton Hvornum
existing loader.conf completely, only the default option. We're still left with a lot of garbage entries if installed multiple times on the same boot partition. #51
2021-03-14Added error handling for install_profile() if string vs Profile() is given ↵Anton Hvornum
as an argument.
2021-03-14Corrected some spelling errors and wrong variables.Anton Hvornum
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-09Mergining in PR #112. Reworked partitioning and added new functionsAnton Hvornum
2021-03-09Merge branch 'master' into skip-partitioningAnton Hvornum
2021-03-09Purged last legacy, setting the root pwAnton Hvornum
2021-03-09fixed a global variable as well as re-organized the guided.py to better ↵Anton Hvornum
match the flow of steps.. 1) Ask user questions function, 2) Perform installation steps, 3) Perform actual installation
2021-03-09Moved everything into a function block rather than having everything on a ↵Anton Hvornum
line by line situation. This just helps separate what the two major components/blocks are of the guided profile. The change was done in the previous commit, but a spelling mistake was made here and I forgot to mention it in the already long commit log. But user-questions is now in one function. Installation steps are now in a two-tier function, one for setup and one for install steps.
2021-03-09Fixed remaining installation steps and remove legacy references to ↵Anton Hvornum
archinstall.storage['_guided'] and archinstall.storage['_guided_hidden']. Which were great at the time, but they are not deprecated and moved into archinstall.arguments instead to support parameters on command-line. As well as being a bit more description, since they are arguments afterall to various setup instructions.
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-09Forgot a variable.Anton Hvornum
2021-03-09Added functions to auto-detect filesystems inside encrypted partitions ↵Anton Hvornum
(given a password)
2021-03-09Adding enforcement to select a filesystem-type for encrypted volumes unless ↵Anton Hvornum
the specified pasword can be used to unlock the device and auto-detect this.
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-08Tweaked the guided steps up until the installation.Anton Hvornum
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-08Added some debugging.Anton Hvornum
2021-03-08Added some debugging.Anton Hvornum