Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
AgeCommit message (Collapse)Author
2021-03-20Print options in columnsNinchester
2021-03-20Added helper functions for #81. So that we have a basic information about ↵Anton Hvornum
the terminal when outputting large lists/options.
2021-03-20Fixed #64. installation.set_timezone() already excisted since earlier ↵Anton Hvornum
versions of archinstall in the library section. The guided.py example simply never asked for a time-zone. There's still no NTP option, which I'll add in later. Mostly because there's a lot of settings one can do to a time-client configuration, and I'm not sure all users want the default time servers etc.
2021-03-14Added some error handling.Anton Hvornum
2021-03-14encrypted devices won't always report as a child to a device, can't reliably ↵Anton Hvornum
look for a 'parent' of a encrypted drive when it doesn't show up. Hence, the DiskError() can't be raised just because we can't find a parent. The parent should be the current path if no other option was found.
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-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.