]> git.proxmox.com Git - pve-manager.git/commit
pve7to8: check for proper grub meta-package for bootmode
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 11 Oct 2023 13:23:42 +0000 (15:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 6 Nov 2023 17:12:17 +0000 (18:12 +0100)
commit67c655b9333714f31d5115de80961a2abc4b6506
treec76e2ae2fc142dea92847f4f4374276e0324ef4c
parent3632a02974173c162cfa9ff51770249ba981873e
pve7to8: check for proper grub meta-package for bootmode

This should catch installations from our ISO on non-ZFS in uefi mode,
which won't get the updated grub efi binary installed upon upgrade,
because grub-pc is installed instead of grub-efi-amd64.

Adding this to pve7to8 should make this even more visible, than the
corresponding patch for promxox-kernel-helper (warnings printed during
regular package upgrades might be overlooked more easily than
a yellow line in the major upgrade checkscript)

The if/else order was chosen to limit the nesting level of the long
messages.

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