Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2021-03-21Centralized a partition call to use the logging feature raw_parted().Anton Hvornum
2021-03-21Added more debug level information to parted in case it goes heywire.Anton Hvornum
2021-03-21Moved some info logs into debug instead to minimize user splash.Anton Hvornum
2021-03-21Added some debugging to help identify why archinstall cannot find ↵Anton Hvornum
unencrypted devices when setting up the boot loader.
2021-03-21Cleaned up after some debugging.Anton Hvornum
2021-03-21Spelling error on variable.Anton Hvornum
2021-03-21Moved the globalization of 'installation' variable. Since Profile() might be ↵Anton Hvornum
created before the installation instance, we need to move the global variable declaration after installation has begun and there's an installation instance.
2021-03-21Storing original namespace of profiles as they were during initation. ↵Anton Hvornum
Namespaces now get reverted back to the original state just before .install() is called. This ensures any temporary namespace changes made during prep-checks etc doesn't stick around when we try to install.
2021-03-21Reverted reset_namespace idea. Didn't turn out as clean as I wanted it to.Anton Hvornum
2021-03-21Enabling load_instructions() to set a temporary namespace, and then ↵Anton Hvornum
reverting it after the instructions are loaded. This is to temporarly override the namespace during import - enabling avoidance of triggering __name__ checks, and at the same time reverting back the namespace automatically to enable .execute() on the script (reusability of classes)
2021-03-21Enabling load_instructions() to set a temporary namespace, and then ↵Anton Hvornum
reverting it after the instructions are loaded. This is to temporarly override the namespace during import - enabling avoidance of triggering __name__ checks, and at the same time reverting back the namespace automatically to enable .execute() on the script (reusability of classes)
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Debugging tainted namespace on profile modules.Anton Hvornum
2021-03-21Marking newly created partitions as safe to format in use_entire_disk(), by ↵Anton Hvornum
adding allow_formatting=True to the partitions. Also added some debugging to help aiding in support cases.
2021-03-21Added some more debugging and error logs to the project. Mainly to indicate ↵Anton Hvornum
background tasks and errors to the debug log in case users need to submit it.
2021-03-21Fixing minor issue in v2.1.2-rc3. The use_entire_disk() helper function was ↵Anton Hvornum
adding a partition with the format vfat, but parted doesn't understand this and needs fat32.
2021-03-20Removed search logic for mirrors since we now have column-printouts, the ↵Anton Hvornum
columns enabled us to print all the regions which means the search was an excessive feature.
2021-03-20Fix number padding based on length of the highest option index - instead of ↵Ninchester
using zeroes, now spaces are used
2021-03-20Make option list 0-index basedNinchester
2021-03-20Add margin at the bottomNinchester
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.