[pve-devel] [PATCH 1/1] pve7to8: check for proper grub meta-package for bootmode
Friedrich Weber
f.weber at proxmox.com
Mon Oct 9 09:11:45 CEST 2023
On 04/10/2023 14:05, Stoiko Ivanov wrote:
> + } elsif ( ! -f "/usr/share/doc/grub-efi-amd64/changelog.Debian.gz" ) {
> + log_warn(
> + "System booted in uefi mode but grub-efi-amd64 meta-package not installed"
> + . " new grub versions will not be installed to /boot/efi -"
> + . " install grub-efi-amd64"
> );
Nit: The message is printed in one line, might be a bit more readable
with a newline (or full stop/exclamation mark) after "not installed".
> + return;
> + } else {
> + log_pass("bootloader packages installed correctly");
> }
> }
>
More information about the pve-devel
mailing list