]> git.proxmox.com Git - pve-manager.git/commit
pve7to8: add check for systemd-boot presence where needed
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 21 Jun 2023 17:35:57 +0000 (19:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 17:48:11 +0000 (19:48 +0200)
commit35069cdbdc6da9cbc424abfe17ebae111fa71720
treef115bf7daa1a3bc401e67b17ad9a2aad5d6ae5ad
parentdaf74a20fd96bb8e9a418d9e06fea32a453ea5ff
pve7to8: add check for systemd-boot presence where needed

since the package won't get installed for systems upgraded from 7 to 8
we warn users who need systemd-boot - to be able to initialize new
ESPs - that they need to install it

The check for package installation is based on existance of the
changelog, since the package information used in pve7to8 comes from
the API-modules, which limit it to the pve-relevant packages.

tested in VMs with uefi and legacy mode, with existing
proxmox-boot-uuids both with and w/o systemd-boot being installed

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/CLI/pve7to8.pm