Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
AgeCommit message (Collapse)Author
2021-03-29Fixing rare occation where partitions dissapear just before .format().Anton Hvornum
2021-03-29Fixing un-encrypted drives matching on block encrypted.Anton Hvornum
2021-03-28Added some more useful debug data to the log.Anton Hvornum
2021-03-28Adding debug to correct for a potential issue where partitions get marked as ↵Anton Hvornum
encrypted even tho \!disk-password was neven set.
2021-03-28Fixed a path-check issue with Time Zones.Anton Hvornum
2021-03-24Fixes an issue with completely empty hard drivesAnton Hvornum
If empty hard drives are being set up for the first time, then `.has_content()`'s `mount` call will fail with `wrong fstype` since there's no filesystem yet. First step in this case is to check for that scenario, then check for content.
2021-03-24Removed vfat as an option for the root partitionAnton Hvornum
2021-03-23Also setting cwd (bad choice of name) to the workdir if one was specified. ↵Anton Hvornum
Which makes the trace.log to end up in the workdir as well.
2021-03-23Enabling archinstall.sys_command() to get a working directory when ↵Anton Hvornum
executing. The sys_command() is working pretty well for this very specific need, but this is an attempt to making it a bit more generic. A more general overhaul of the command should be done at some point.
2021-03-23Corrected recursion loop in log() calling log() before setting the new path ↵Anton Hvornum
for the log file on errors.
2021-03-23Partially corrects for #116. We still don't detect if we're running as root ↵Anton Hvornum
(need to investigate if we need to run as root first). But this should at least hot-swap the log-file to the current working directory and place the logfile there.
2021-03-21Improved english grammar and dialogues. Some 'questions' were formatted in a ↵Anton Hvornum
way where the user would enter 'yes' instead of the expected input. For instance, 'Any additional users to install:' which is a question where 'yes' is a appropriate response, but the expected input was the username to be created. Rephrased it to 'Enter a username to create a additional user:' instead for instance.
2021-03-21Added a mkinitcpio configuration for non-btrfs volumes but where encryption ↵Anton Hvornum
is still used. Also added keymap to the HOOKS so that we can get non-us layouts depending on the locale chosen during installation.
2021-03-21Removed some debugging output.Anton Hvornum
2021-03-21Added an option to force-flush a blockdevice cache. creating a new ↵Anton Hvornum
Filesystem() now triggers a flush of the cache since all partitions are removed. There shouldn't be any harm in even bypassing the cache, but it's there for a few reasons.
2021-03-21Debugging a partioning case.Anton Hvornum
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