index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-07 | Btrfs II (#838) | Werner Llácer | |
* Btrfs with encrypted partitions. We have changed installer.mount_ordered_layout into a series of loops * open the encrypted devices * manage btrfs subvolumes * mount whatever * create kyefiles for encrypted volumes We have simplified the btrfs subvolume manager We merged the locale branch as it is needed here * We allow only the creation of keyfiles if the partition does not contain the root mount point. Also, adapt examples/only_hd to the new __init__.py Also, assorted flake8 warnings * Cleanup code * Naming schema for encrypted volumes revert global locale association (provisional) * We introduce the option of defining mount options in the partition dictionary. It has forced us to define two new entries in this dictionary: * format_options (formerly options) for mkfs options and * mount_options for mount -o ones. The different meaning of compress between partition and subvolumes is treated * Function lib/disk/btrfs.py mount_subvolume marked as deprecated Code cleanup. * format_options now filesystem.options * format_options now filesystem.format_options mount_options nof filesystem.mount_options * flake8 uncovered a slip in the code | |||
2022-01-06 | Added type annotations to all functions (#845) | Anton Hvornum | |
* Added type annotations for 1/5 of the files. There's bound to be some issues with type miss-match, will sort that out later. * Added type hints for 4/5 of the code * Added type hints for 4.7/5 of the code * Added type hints for 5/5 of the code base * Split the linters into individual files This should help with more clearly show which runner is breaking since they don't share a single common name any longer. Also moved mypy settings into pyproject.toml * Fixed some of the last flake8 issues * Missing parameter * Fixed invalid lookahead types * __future__ had to be at the top * Fixed last flake8 issues | |||
2021-12-31 | Btrfs2 (#787) | Werner Llácer | |
* All the changes needed to make btrfs subvolumes work. It boils down to two points; the handling of the addressing of subvolumes re. physical partitions, and the small changes at the bootloader level * We added a new script only_hd for testing purposes. It only handles hadrd drive management * restoring an escape hatch during subvolume processing * hipercommented manage_btrfs_subvolumes * Ready to be able to select and process options in subvolume mounting * Separte nodatacow processing * Solving a flake8 complain * Use of bind names @ get_filesystem_type * compress mount option bypass * Preparations for encryption handling * Compatibility to master version re. encrypted btrfs volumes * Now we can create subvolumes and mountpoints inside an encrypted btrfs partition * changes for entries file generation with systemd-bootctl * flake8 corrections plus some comments Co-authored-by: Anton Hvornum <anton@hvornum.se> | |||
2021-11-05 | Cleaned 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-10-30 | Adding error handling for paths and btrfs subvolume creation. | Anton Hvornum | |
2021-10-30 | Failed to create directory structure on subvolume create. Only on subvolume ↵ | Anton Hvornum | |
mount. This fixes that. | |||
2021-10-30 | Raising DiskError if subvolumes cannot be created. | Anton Hvornum | |
2021-10-30 | Fixes tuple issue | Anton Hvornum | |
2021-10-30 | Tweaked 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-30 | Forgot to include {installation.target} in subvolume mounting | Anton Hvornum | |
2021-10-30 | Added more logging (will change INFO to DEBUG later) | Anton Hvornum | |
2021-10-30 | Added some error handling to mount points not getting mounted properly. | Anton Hvornum | |
2021-10-30 | Forgot an import | Anton Hvornum | |
2021-10-30 | Added debugging to the btrfs functions. | Anton Hvornum | |
2021-10-30 | Added creating and mounting of subvolume structure for BTRFS. | Anton Hvornum | |
2021-10-27 | Finalized 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-22 | Restructured 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. |