Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk
AgeCommit message (Collapse)Author
2021-11-11Adding in debuggingAnton Hvornum
2021-11-11elif -> ifAnton Hvornum
2021-11-11Removed legacy code related to disk wiping. Also added in partprobe in ↵Anton Hvornum
strategic places (not sure this is enough, will have to test)
2021-11-11Merged PR #707 - Fixes password leakage to terminalAnton Hvornum
Created a new JSON serializer called `UNSAFE_JSON` that will serialize everything, including sensitive information. And `JSON` which is the default up to this point now safely ignores any sensitive information in dictionaries marked with `!`, for instance `{"!password" : "mypassword"}` will be omitted from any output.
2021-11-10Fixed linting issueAnton Hvornum
2021-11-10Solves issue #689. Attribute Error.'None type' has no attribute 'format' ...Werner Llácer
It seems the system does not syncronus update its internal information after a partitioning. Two places are affected. Directly on filesystem.add_partition (the uuid of the new partition isn't available after the parted command) and blockdevice.get_partition, where the list of partitions for the iterator might not be available in the query. The patch places both sections under controlled loops, giving the system the chance to update the information. Should be more controlled via application parameters
2021-11-09Changed partition password to !passwordAnton Hvornum
And also added a check to grab !encryption-password if no partition-specific password was given.
2021-11-09Adding a exception to filesystem.parted() if it fails. We can't let these go ↵Anton Hvornum
by unoticed
2021-11-09Linting fixAnton Hvornum
2021-11-09Merge pull request #695 from wllacer/masterAnton Hvornum
Solves issue #674
2021-11-08Fix user_interaction import as well - this is also in the parent directory.Dylan M. Taylor
2021-11-08If using subvolumes, make root partition 100% instead of using homeDylan M. Taylor
2021-11-08Fix luks import so that encryption works correctlyDylan M. Taylor
2021-11-08Followup to the previous one. Output of size function is rounded to the ↵Werner Llácer
first decimal so output doesn't look too cluttered
2021-11-08Solves issue #674Werner Llácer
We turned the size query of the devices to byte mode in lsblk (lsblk -b) It avoids problems with the localized output of the lsblk utility.
2021-11-05Fixed a broken importAnton Hvornum
2021-11-05Fixed some import errors that snuk in masterAnton Hvornum
2021-11-05Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-93Anton Hvornum
2021-11-05Just swapped quotation marks. Easier to copy paste into JSON syntax ↵Anton Hvornum
highlighting.
2021-11-05Merged PR #650 - flake8 fixes and tighteningAnton Hvornum
Tighten up flake8 tests used by GitHub Action lint_python
2021-11-05Ignoring flake8 on blockdevice.py.Anton Hvornum
2021-11-05Cleaned up all flake8 issues/warnings. Did some code cleaning as well, ↵Anton Hvornum
mostly how we called things in guided.py but also some SysCommand calls
2021-11-01Add import for all_disksDidr
2021-10-30Adding support for passing arguments to .format()Anton Hvornum
This should enable people to use custom option arguments in their config files when scripting installations or using the API.
2021-10-30Merging in parts of Master related to disk.pyAnton Hvornum
2021-10-30Adding error handling for paths and btrfs subvolume creation.Anton Hvornum
2021-10-30Failed to create directory structure on subvolume create. Only on subvolume ↵Anton Hvornum
mount. This fixes that.
2021-10-30Raising DiskError if subvolumes cannot be created.Anton Hvornum
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-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-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.