index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-17 | Fixing broken encryption support in GRUB (#724) | Anton Hvornum | |
* Added multiple `partprobe` calls and added a `.partprobe()` function on partitions, filesystem and blockdevice. * Adding retry attempts to all UUID related operations tied to the boot process * Tweaked logging for mounting and disk related operations * Removed potential SysCall exception disruptor causing exceptions to go by unnoticed * Increased the start position from 1MiB to 5MiB of /boot partition * Optimized the GRUB installation & config code * Improved Partition().uuid to never return None. Instead it will raise an exception if it can't get a PARTUUID within X retries with Y delay per attempt. * Increased sleep timer for partition uuid retrieval, because even with a 3 second sleep it wasn't long enough even on fast devices. * Make GRUB install to /dev/sda instead of /dev/sda1. * Added 10 retries for retreiving PARTUUID with a one second sleep. Instead of increasing the sleep simply add more retries until we find a good balance on slower disks. | |||
2021-11-17 | Merge PR #716 - Support for efistub-bootloader (API only) | Anton Hvornum | |
Add EFISTUB bootloader support through config/api calls using: ```json { "bootloader": "efistub", "kernels": [ "linux", "linux-lts" ] } ``` | |||
2021-11-16 | Merge pull request #723 from archlinux/torxed-fix-boot-entries | Anton Hvornum | |
Clarification on boot entries when using multiple kernels | |||
2021-11-16 | Clarification on boot entries when using multiple kernels | Anton Hvornum | |
2021-11-16 | Merge PR #722 - Fixes #721 | Anton Hvornum | |
Safe dictionary retrieval | |||
2021-11-16 | Safe dictionary retrieval | Anton Hvornum | |
2021-11-16 | Merge PR #714 - Fix empty drives causing issues | Anton Hvornum | |
* Removed the GPT vs MBR lookup on __enter__ * Removed redundant `boot_partition` lookup during GRUB configuration | |||
2021-11-16 | Accidental stdout redirect into 1 | Anton Hvornum | |
2021-11-16 | removed redundant import | Anton Hvornum | |
2021-11-16 | Removed redundant boot-partition retrieval. | Anton Hvornum | |
2021-11-16 | Linting issues | Anton Hvornum | |
2021-11-16 | Added more logging for debugging purposes | Anton Hvornum | |
2021-11-16 | Improved error message when failing to detect mount information. | Anton Hvornum | |
2021-11-16 | Fix unknown-ucode message for EFISTUB bootloader | Ettore Forigo | |
2021-11-15 | Merge pull request #715 from archlinux/torxed-add-mntpoint-arg | Anton Hvornum | |
Adding in --mount-point argument, which overrides storage['MOUNT_POINT'] | |||
2021-11-15 | Fix boot partition detection for EFISTUB bootloader | Ettore Forigo | |
2021-11-14 | Add EFISTUB bootloader support | Ettore Forigo | |
2021-11-13 | Adding in --mount-point argument, which overrides storage['MOUNT_POINT'] | Anton Hvornum | |
2021-11-12 | Removed 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-11 | Merged PR #711 - Fixing disk "ghosting" issues using partprobe | Anton 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-11 | Merged PR #713 - Fixes #712 | Anton Hvornum | |
Removed assumptions that !user and !super-users exists. | |||
2021-11-11 | Removed assumptions that !user and !super-users exists. | Anton Hvornum | |
2021-11-11 | Converted partprobe call into a function. | Anton Hvornum | |
2021-11-11 | Dealt with exception in partition | Anton Hvornum | |
2021-11-11 | Added a hard exception for when mount information can't be detected | Anton Hvornum | |
2021-11-11 | Added more partprobe's | Anton Hvornum | |
2021-11-11 | Added more debug output for get_mount_info() | Anton Hvornum | |
2021-11-11 | Improved partition.uuid handling of lsblk information | Anton Hvornum | |
2021-11-11 | Tweaked partitions usage in blockdevice | Anton Hvornum | |
2021-11-11 | Tweaked partitions usage in blockdevice | Anton Hvornum | |
2021-11-11 | Added more debugging (some duplicate, but that's fine) | Anton Hvornum | |
2021-11-11 | Adding in debugging | Anton Hvornum | |
2021-11-11 | elif -> if | Anton Hvornum | |
2021-11-11 | Removed 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-11 | Merged PR #707 - Fixes password leakage to terminal | Anton 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-11 | Bad copy paste of code prohibited credentials from being stored. | Anton Hvornum | |
2021-11-11 | Only adding disk encryption to user_credentials.json when supplied. | Anton Hvornum | |
2021-11-11 | Modified last few places where password gets set. | Anton Hvornum | |
2021-11-11 | Merge pull request #709 from wllacer/master | Anton Hvornum | |
Solves issue #689. Attribute Error.'None type' has no attribute 'form… | |||
2021-11-10 | Fixed linting issue | Anton Hvornum | |
2021-11-10 | Solves 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-09 | Changed partition password to !password | Anton Hvornum | |
And also added a check to grab !encryption-password if no partition-specific password was given. | |||
2021-11-09 | Forgot to change the cls=JSON inside the recursive call of UNSAFE_JSON | Anton Hvornum | |
2021-11-09 | Merge pull request #706 from archlinux/torxed-add-credentials | Anton Hvornum | |
Adding in storage of user supplied credentials in a separate file. | |||
2021-11-09 | Forgot the disk encryption password, also escaped with ! | Anton Hvornum | |
2021-11-09 | Adding 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-09 | Revert 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-09 | Automatically fill the hostname in user_config.json | Anton Hvornum | |
2021-11-09 | Merge pull request #704 from archlinux/torxed-fix-689 | Anton Hvornum | |
Fix #689 by adding a exception to filesystem.parted() on failure | |||
2021-11-09 | Adding a exception to filesystem.parted() if it fails. We can't let these go ↵ | Anton Hvornum | |
by unoticed |