[pve-devel] [PATCH installer v2 0/6] tui: add ZFS/Btrfs RAID setup checks

Christoph Heiss c.heiss at proxmox.com
Mon Jul 24 12:14:44 CEST 2023


This introduces the same checks when creating a RAID setup for ZFS and
Btrfs as in the GUI installer.

The main benefit is that the user now gets an error before the setup
dialog can even be closed, instead of during the install process.

Patch #1 is just some cleanup I noticed along the way, #2 and #3 are
preparatory patches. #4 then implements the actual functionality and #5
unit tests for all that. #6 just enables dh_auto_test in the end.

Notable changes v1 -> v2:
  * Rebased series on latest master
  * Added patch #6, enabling dh_auto_test

v1: https://lists.proxmox.com/pipermail/pve-devel/2023-July/058077.html

pve-installer:

Christoph Heiss (6):
  tui: simplify duplicate disk checking logic
  tui: deserialize boot type and disk blocksize from runtime env info
  tui: improve bootdisk dialog error handling
  tui: add RAID setup checks for ZFS/Btrfs
  tui: add tests for RAID setup checks
  d/rules: enable dh_auto_test

 Makefile                                    |   3 +
 debian/rules                                |   3 -
 proxmox-tui-installer/src/options.rs        |   1 +
 proxmox-tui-installer/src/setup.rs          |  15 +-
 proxmox-tui-installer/src/views/bootdisk.rs | 368 ++++++++++++++++++--
 5 files changed, 349 insertions(+), 41 deletions(-)

--
2.41.0






More information about the pve-devel mailing list