Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-15Merge pull request #715 from archlinux/torxed-add-mntpoint-argAnton Hvornum
Adding in --mount-point argument, which overrides storage['MOUNT_POINT']
2021-11-15Fix boot partition detection for EFISTUB bootloaderEttore Forigo
2021-11-14Add EFISTUB bootloader supportEttore Forigo
2021-11-13Adding in --mount-point argument, which overrides storage['MOUNT_POINT']Anton Hvornum
2021-11-12Removed the GPT vs MBR lookup on __enter__ as it's no longer necessary to ↵Anton Hvornum
validate this on instance creation. load_layout() Uses this only to detect what partition table format it should use when wiping the drive. Other than that we only check if MBR and part numbers are > 3, that's the only use of this variable at this moment.
2021-11-11Merged PR #711 - Fixing disk "ghosting" issues using partprobeAnton Hvornum
* Adding partprobe at strategic places. * Swapped `for partition in blockdevice` to `for uuid, partition in blockdevice.partitions.items()` instead as `__iter__` for debugging purposes. * `get_mount_info()` now causes a exception rather than returning nothing if there is nothing to be shown. This to avoid issues where in places this is crucial information and it went by unnoticeable. Using exception handlers where it doesn't matter if there's any information or not.
2021-11-11Merged PR #713 - Fixes #712Anton Hvornum
Removed assumptions that !user and !super-users exists.
2021-11-11Removed assumptions that !user and !super-users exists.Anton Hvornum
2021-11-11Converted partprobe call into a function.Anton Hvornum
2021-11-11Dealt with exception in partitionAnton Hvornum
2021-11-11Added a hard exception for when mount information can't be detectedAnton Hvornum
2021-11-11Added more partprobe'sAnton Hvornum
2021-11-11Added more debug output for get_mount_info()Anton Hvornum
2021-11-11Improved partition.uuid handling of lsblk informationAnton Hvornum
2021-11-11Tweaked partitions usage in blockdeviceAnton Hvornum
2021-11-11Tweaked partitions usage in blockdeviceAnton Hvornum
2021-11-11Added more debugging (some duplicate, but that's fine)Anton Hvornum
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-11Bad copy paste of code prohibited credentials from being stored.Anton Hvornum
2021-11-11Only adding disk encryption to user_credentials.json when supplied.Anton Hvornum
2021-11-11Modified last few places where password gets set.Anton Hvornum
2021-11-11Merge pull request #709 from wllacer/masterAnton Hvornum
Solves issue #689. Attribute Error.'None type' has no attribute 'form…
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-09Forgot to change the cls=JSON inside the recursive call of UNSAFE_JSONAnton Hvornum
2021-11-09Merge pull request #706 from archlinux/torxed-add-credentialsAnton Hvornum
Adding in storage of user supplied credentials in a separate file.
2021-11-09Forgot the disk encryption password, also escaped with !Anton Hvornum
2021-11-09Adding in storage of user supplied credentials. This separates credentials ↵Anton Hvornum
from user_configuration.json into user_credentials.json. As well as the JSON serializer will omit the credentials from the user_configuration.json by detecting ! in the dictionary keys (which is why they are important). UNSAFE_JSON will leave those keys in there, good for storing credentials in a separate file."
2021-11-09Revert default automatic hostname in user_config.json, I realized it's ↵Anton Hvornum
better to use --silent than forcing something in there. Some users might want to get poked on every machine.
2021-11-09Automatically fill the hostname in user_config.jsonAnton Hvornum
2021-11-09Merge pull request #704 from archlinux/torxed-fix-689Anton Hvornum
Fix #689 by adding a exception to filesystem.parted() on failure
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-09Merge pull request #703 from dylanmtaylor/patch-2Anton Hvornum
Fix user_interaction import as well - this is also in the parent directory
2021-11-08Fix user_interaction import as well - this is also in the parent directory.Dylan M. Taylor
2021-11-08Merge pull request #702 from dylanmtaylor/subvolume-disk-sizeAnton Hvornum
If using subvolumes, make root partition 100% instead of using home
2021-11-08If using subvolumes, make root partition 100% instead of using homeDylan M. Taylor
2021-11-08Merge pull request #699 from dylanmtaylor/patch-2Anton Hvornum
Fix luks import so that encryption works correctly
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-07Fixes #690 by Clearing storage['active_boot'] if shutdown was successful (#691)Anton Hvornum
* Clear storage variable if shutdown was successful * Adding shutdown monitoring and debug output. * It seams systemd-run gets a connection reset from running 'shutdown now', but in a good way - so it doesn't raise any exceptions. Or at least that's what it looks like.
2021-11-06Revert "Added a delay on systemd-nspawn", did not helpAnton Hvornum
This reverts commit d9aa7e6b34a969b46f97a24b9387d215605747c8.
2021-11-06Added a delay on systemd-nspawnAnton Hvornum
This to avoid "Transport endpoint is not connected"
2021-11-06Merged #679 - Fix #109 Wrapper to create files inside installationAnton Hvornum
Added a wrapper to create files inside the installation