Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-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-08Re-formatted a question a bit.Anton Hvornum
2021-03-08Fixed indentation on output.Anton 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-03-08Removing make script for building binary and pypi dist. These should be done ↵Anton Hvornum
separately and should be done with build instructions not a bash script (i think).
2021-02-17Added a commentAnton Hvornum