[pve-devel] partially-applied: [PATCH installer v3 00/20] fix #5536: implement post-(auto-)installation notification mechanism

Thomas Lamprecht t.lamprecht at proxmox.com
Sun Nov 10 19:36:56 CET 2024


Am 21.08.24 um 11:40 schrieb Christoph Heiss:
> Git diffstat
> ------------
> 
> Christoph Heiss (20):
>   tree-wide: fix some typos
>   fetch-answer: partition: fix clippy warning
>   low level: run env: ensure `secure_boot` property is dumped as int
>   common: simplify filesystem type serializing & Display trait impl
>   common: setup: serialize `target_hd` as string explicitly
>   common: split out installer setup files loading functionality
>   common: setup: deserialize `secure_boot` property from runtime env
>   common: http: pass url by reference

^-- applied above 8 patches, below need mostly rebasing

>   debian: strip unused library dependencies
>   fetch-answer: move http-related code to gated module in
>     installer-common
>   tree-wide: convert some more crates to use workspace dependencies
>   auto-install-assistant: replace `PathBuf` parameters with
>     `AsRef<Path>`
>   auto-installer: tests: simplify empty disks check
>   auto-installer: tests: replace `PathBuf` parameters with `AsRef<Path>`
>   auto-installer: move `SystemDMI` struct to common crate
>   auto-installer: answer: factor out answer file reading into function
>   auto-installer: udevinfo: introduce type alias for udev properties
>   fix #5536: auto-installer: answer: add `posthook` section
>   fix #5536: post-hook: add utility for sending notifications after
>     auto-install
>   unconfigured.sh: run proxmox-post-hook after successful auto-install
> 
>  Cargo.toml                                    |  11 +
>  Makefile                                      |   8 +-
>  Proxmox/Install/RunEnv.pm                     |   3 +-
>  debian/control                                |   1 +
>  debian/install                                |   1 +
>  debian/rules                                  |  13 +
>  proxmox-auto-install-assistant/Cargo.toml     |  14 +-
>  proxmox-auto-install-assistant/src/main.rs    |  27 +-
>  proxmox-auto-installer/Cargo.toml             |  15 +-
>  proxmox-auto-installer/src/answer.rs          |  27 +-
>  .../src/bin/proxmox-auto-installer.rs         |  13 +-
>  proxmox-auto-installer/src/sysinfo.rs         |  51 +-
>  proxmox-auto-installer/src/udevinfo.rs        |   8 +-
>  proxmox-auto-installer/src/utils.rs           |  15 +-
>  proxmox-auto-installer/tests/parse-answer.rs  |  47 +-
>  proxmox-chroot/Cargo.toml                     |   8 +-
>  proxmox-fetch-answer/Cargo.toml               |  17 +-
>  .../src/fetch_plugins/http.rs                 | 100 +--
>  .../src/fetch_plugins/partition.rs            |   2 +-
>  proxmox-installer-common/Cargo.toml           |  26 +-
>  proxmox-installer-common/src/disk_checks.rs   |   2 +-
>  proxmox-installer-common/src/http.rs          |  94 +++
>  proxmox-installer-common/src/lib.rs           |   4 +
>  proxmox-installer-common/src/options.rs       | 121 +--
>  proxmox-installer-common/src/setup.rs         | 109 +--
>  proxmox-installer-common/src/sysinfo.rs       |  52 ++
>  proxmox-installer-common/src/utils.rs         |   2 +
>  proxmox-post-hook/Cargo.toml                  |  18 +
>  proxmox-post-hook/src/main.rs                 | 784 ++++++++++++++++++
>  proxmox-tui-installer/Cargo.toml              |   8 +-
>  proxmox-tui-installer/src/setup.rs            |   2 +-
>  unconfigured.sh                               |  11 +-
>  32 files changed, 1219 insertions(+), 395 deletions(-)
>  create mode 100644 proxmox-installer-common/src/http.rs
>  create mode 100644 proxmox-installer-common/src/sysinfo.rs
>  create mode 100644 proxmox-post-hook/Cargo.toml
>  create mode 100644 proxmox-post-hook/src/main.rs
> 




More information about the pve-devel mailing list