Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
AgeCommit message (Collapse)Author
2021-10-30Fixes tuple issueAnton Hvornum
2021-10-30Tweaked get_mount_info() and mount_subvolume(). mount info now returns the ↵Anton Hvornum
path it found after traversal. mount_subvolume will no longer assume installation.target is of pathlib.Path and converts it if it isn't.
2021-10-30Forgot to include {installation.target} in subvolume mountingAnton Hvornum
2021-10-30Added more logging (will change INFO to DEBUG later)Anton Hvornum
2021-10-30Wrong lib import pathAnton Hvornum
2021-10-30Added some error handling to mount points not getting mounted properly.Anton Hvornum
2021-10-30Enhanced get_mount_info() to recursively get the informationAnton Hvornum
2021-10-30Forgot an importAnton Hvornum
2021-10-30Added debugging to the btrfs functions.Anton Hvornum
2021-10-30Added creating and mounting of subvolume structure for BTRFS.Anton Hvornum
2021-10-27Finalized the create_subvolume and mount_subvolume functions. Remaining is ↵Anton Hvornum
to call these functions during the disk setup process to create the subvolumes and mount them in place, rather than doing the normal steps.
2021-10-22Forgot some imports that didn't show up on a static run without going ↵Anton Hvornum
through a few of the menu's
2021-10-22Forgot some imports that didn't show up on a static run without going ↵Anton Hvornum
through a few of the menu's
2021-10-22Forgot some imports that didn't show up on a static run without going ↵Anton Hvornum
through a few of the menu's
2021-10-22Removed the old disk.pyAnton Hvornum
2021-10-22Restructured disk.py into lib/disk/<splits>.py instead. Shouldn't be any ↵Anton Hvornum
broken links as we expose all the functions through __init__.py - but you never know so I'll keep an eye for issues with this.
2021-09-18Refactoring and cleaning up a bitAnton Hvornum
I'm making sure that the JSON structure of the user config can get a say in how the subvolumes should be used later on. As well as splitting up where the logic should be to make it easier to maintain.
2021-09-18Preparing to split up ./lib/disk.pyAnton Hvornum
And added some sane(?) defaults, which I'll massage into code some how.
2021-09-18Adding in options for BTRFS subvolumesAnton Hvornum
2021-09-18Removing hardcoded btrfs for suggested partition layouts.Anton Hvornum
2021-09-17Removing /tmp from fstabAnton Hvornum
Since systemd takes care of mounting /tmp as a tmpt, there's no point in having a manual entry in fstab.
2021-09-15Making sure the drive paths are in the JSON structure, and not the class ↵Anton Hvornum
object, as it won't work seamlessly to access for instance storage['disk_layouts'][ClassInstance()] if it's not the identical mem copy of the object we're accessing, so strings are better for storage/comparisons.
2021-09-14Added a 'hidden' variable called --disk-sleep for delaying disk partition up ↵Anton Hvornum
time before continuing after a format. This is an ugly hack to get around some disk issues, for now.
2021-09-14Moved --noconfirm at the end of the pacstrap command to get piped properly ↵Anton Hvornum
to pacman inside pacstrap.
2021-09-13Merging latest changesAnton Hvornum
2021-09-13Added --noconfirm to pacstrap and increased logging verbosity when packages ↵Anton Hvornum
fail, and adding a exception so that the installation doesn't continue silently. This causes too much confusion (even tho I liked the idea that people could recover the missing parts without having to re-run the installer for subsequent steps.
2021-09-12Removed legacy need to add_bootloaderAnton Hvornum
`add_bootloader` no longer needs to have a harddrive given as a argument. It will (and should) auto-detect what's mounted in the `self.target` (aka mountpoint) of the installation.
2021-09-06Merge pull request #623 from conqp/clean_hardware_importsAnton Hvornum
Remove unused import of json
2021-09-06Merge pull request #626 from conqp/refactor_meminfoAnton Hvornum
Refactor meminfo() to allow direct key access
2021-09-06Merge pull request #625 from conqp/fix_tab_indentationAnton Hvornum
Fix indentation with tabs instead of spaces
2021-09-06Fix indentation with tabs instead of spacesRichard Neumann
2021-09-06Refactor meminfo() to allow direct key accessRichard Neumann
2021-09-06Remove unused import of jsonRichard Neumann
2021-09-06Merged in masterAnton Hvornum
2021-09-06Merged in master.Anton Hvornum
2021-09-06Refactor cpu_model() to use cpuinfo()Richard Neumann
2021-09-06Refactor cpu_vendor() to use cpuinfo()Richard Neumann
2021-09-06Merge branch 'master' into native_cpu_detectionAnton Hvornum
2021-09-06Merge pull request #610 from luckspt/patch-2Anton Hvornum
Typo
2021-09-06Merge pull request #605 from CYPT71/patch-1Anton Hvornum
Update hardware.py
2021-09-06Added exception handling to check_outputAnton Hvornum
I tweaked the optimized return of check_output. Worth mentioning that `check_output()` will raise an exception `subprocess.CalledProcessError: Command 'lscpu | grep AMD' returned non-zero exit status 1.`.
2021-09-06No need for try/catch any longer.Anton Hvornum
The old behavior of SysCommand was that exit codes raised an exception, which needed to be handled by each individual caller. We now utilize `.exit_code` instead to manually detect faulty commands and raise exceptions where needed.
2021-09-06Merge branch 'master' into masterAnton Hvornum
2021-09-06Merge pull request #600 from monosans/comprehensionAnton Hvornum
Replace for loops with comprehensions
2021-09-06Corrected some minor modifications mentioned in #595 as well as merged in ↵Anton Hvornum
latest changes from master. For future PR's do create a patch-branch for upstream patches to avoid changes to your local repo.
2021-09-04Merge branch 'master' of github.com:archlinux/archinstall into ↵Anton Hvornum
torxed-rework-partitioning
2021-09-04Fixed edge case where size of disks could be exactly 40GB and a /home would ↵Anton Hvornum
never be created on single devices.
2021-09-04Added a PARTUUID -> parted index, this in order to properly set the boot ↵Anton Hvornum
flag on the correct partition. Perhaps there's a smarter way. I suspect parted can operate on a given partition ID, but haven't found the docs for it yet.
2021-09-04Simplified lambda and made it filter out non relevant disks for the ↵Anton Hvornum
selection process.
2021-09-04Fixed filtering if largest disk selectionAnton Hvornum