index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-18 | Added docstring | Anton Hvornum | |
2021-11-18 | Reworked _safe_uuid() to be it's own function without timeouts. | Anton Hvornum | |
2021-11-18 | Reworked the last uuid fix, and introduced _safe_uuid which does the same ↵ | Anton Hvornum | |
thing but handles the DisKerror. This way we can use it in more places. | |||
2021-11-18 | Error handling when PARTUUID is missing during __repr__ | Anton Hvornum | |
2021-11-18 | Swapped .get() statement for a verification. This ensures Partition().uuid ↵ | Anton Hvornum | |
doesn't immediately return None | |||
2021-11-18 | Increased disk delays by 100% (for unsuccessful operations), successful ↵ | Anton Hvornum | |
should still be quick. (#730) Co-authored-by: Anton Hvornum <anton.feeds@gmail.com> | |||
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 | Clarification on boot entries when using multiple kernels | Anton Hvornum | |
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 | 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 | 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 | Modified last few places where password gets set. | Anton Hvornum | |
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 | 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 | Adding a exception to filesystem.parted() if it fails. We can't let these go ↵ | Anton Hvornum | |
by unoticed | |||
2021-11-09 | Linting fix | Anton Hvornum | |
2021-11-09 | Merge pull request #695 from wllacer/master | Anton Hvornum | |
Solves issue #674 | |||
2021-11-08 | Fix user_interaction import as well - this is also in the parent directory. | Dylan M. Taylor | |
2021-11-08 | If using subvolumes, make root partition 100% instead of using home | Dylan M. Taylor | |
2021-11-08 | Fix luks import so that encryption works correctly | Dylan M. Taylor | |
2021-11-08 | Followup 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-08 | Solves issue #674 | Werner 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-07 | Fixes #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. |