Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
AgeCommit message (Collapse)Author
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.
2021-03-08Added a abort messageAnton Hvornum
2021-03-08Added a abort messageAnton 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-02-17Testing auto-filter in the JSON encoder based on ! points markering ↵Anton Hvornum
sensitive data.
2021-02-17Removed redundant variableAnton Hvornum
2021-02-17Added some forgotten importsAnton Hvornum
2021-02-17Variable mistakeAnton Hvornum
2021-02-17Variable mistakeAnton Hvornum
2021-02-17Simplified profile prep-execution slightly in guided.py. The code can be ↵Anton Hvornum
improved further but it's now more easily read what's going on.
2021-02-17Simplifying the profile loading a bit, and adding some debugging for it.Anton Hvornum
2021-02-17Cleaning up guided.py a bit to be less complex and convoluted, while still ↵Anton Hvornum
performing the same task.
2021-02-17Implemented #106 in branch skip-partitioning. Also moving the disk_password ↵Anton Hvornum
from being a local variable to a BlockDevice setting/variable.
2021-02-11Reworked the way partition formatting works. As well as added some flags to ↵Anton Hvornum
the partition if it's locked/unlocked for partitioning. By defaults partitions will now be in a locked state - prohibiting formatting unless set or overridden in the formatting call. This allows us to selectively format partitions individually later on. There's also a target_mountpoint that is the desired relative mount point inside a installation. This can be pre-pended with the installation base directory during mount. These changes also function as indicators for the installation (and guided installation) for which partitions to use and/or wipe. If an entire drive is selected for wiping, these changes will have no affect in the decision making as all partitions will be new and have formatable set to true.
2021-02-07Added a dummy function call to grab the partition fstype, since unmounted ↵Anton Hvornum
filesystems won't return the fstype obviously.
2021-02-07Reworked fault handling a bitAnton Hvornum
2021-02-07Added error handling for BlockDevice() that was given no information.Anton Hvornum
2021-02-07Corrected two variables.Anton Hvornum
2021-02-07Added error handling for get_mount_info()Anton Hvornum
2021-02-07Added a default no-info value to BlockDevice()Anton Hvornum
2021-02-07Added in argument support to archinstall for easier testing and debuggingAnton Hvornum
2021-02-07Moved the output of the current fileformat structure in guided, as well as ↵Anton Hvornum
added an option to supress the log message from format() in order to hide (for users) the some what confusing formating of /dev/null.
2021-02-07Added a check in guided to make it more visible that we check for filesystem ↵Anton Hvornum
supportation.
2021-02-07Added correct exception handling to the pre-format check.Anton Hvornum
2021-02-07Fixed correct variable usage for path when formatting, enabling temporary ↵Anton Hvornum
override.
2021-02-07Renamed fat32 to vfat to work more seamlessly with findmnt and other tools ↵Anton Hvornum
that report fat32 as vfat
2021-02-07Quotation issueAnton Hvornum
2021-02-07Added an early check for filesystem compatability. Since we need to handle ↵Anton Hvornum
unique packages etc for certain filesystem formats. This early check can be caught and ignored if the programmer/user wants to override the check and continue anyway. But the default should be to stop all execution to not install a half-working system.
2021-02-07Added some more failsafe's to the Partition() object.Anton Hvornum
2021-02-07Yielding actual partitions and not just the partition number :)Anton Hvornum
2021-02-07Made BlockDevices() iterable, iterting over each partitionAnton Hvornum
2021-02-07Added partition info on Partition() creation. This will help detect ↵Anton Hvornum
potential mountpoints as well as filesystem types if any
2021-02-07Added the ability to check if a harddrive has any mountpoint related to a ↵Anton Hvornum
given parameter.
2021-02-07Created has_partitions() on BlockDevice'sAnton Hvornum
2021-01-30don't pass encoding in locale argument, it is appended separately in set_localePhilipp Schaffrath
2021-01-26installer: Make sure networkd and resolved are enabledGiancarlo Razzolini
Fixed the logic so systemd-networkd and systemd-resolved will always be enabled when the user picks the option to copy files from the ISO. The previous behavior was to enable them only if a wireless network was configured with iwd.
2021-01-26Merge pull request #90 from Reiddragon/masterAnton Hvornum
Added basic F2FS support
2021-01-26Synced over the install log to the install medium upon Installer() __exit__. ↵Anton Hvornum
Default storage is /var/log/archinstall/install.log but can be configured in storage.py. This will include crash dumps and a identical copy is found in the ISO as well, in case the users starts looking in /var/log/archinstall in the ISO medium.
2021-01-26Merge branch 'master' of github.com:Torxed/archinstall into improved-loggingAnton Hvornum
2021-01-26Error in copy paste of function name.Anton Hvornum
2021-01-26Added enabling of systemd-networkd and systemd-resolvd in the copying of the ↵Anton Hvornum
ISO network configuration.
2021-01-26Corrected a error in the installation of iwd. The package was added to ↵Anton Hvornum
base_packages, which is never installed if the installer has already finished installing the base packages before this function was called. copy_ISO_network_config() there for now properly checks if the installation is complete and if so, simply straps in the package. Otherwise adds it to the base packages and waits for the base to roll through.