From: Fabian Grünbichler Date: Tue, 23 Apr 2024 12:27:54 +0000 (+0200) Subject: skip proxmox-secure-boot-support if secureboot is not enabled X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=868a2d477d1837011c723f759826cf3409941cc3;p=pve-installer.git skip proxmox-secure-boot-support if secureboot is not enabled while it doesn't hurt to be installed, it also doesn't help in any fashion on such systems. Signed-off-by: Fabian Grünbichler --- diff --git a/Proxmox/Install.pm b/Proxmox/Install.pm index 82619ae..e2f8ad9 100644 --- a/Proxmox/Install.pm +++ b/Proxmox/Install.pm @@ -1098,6 +1098,7 @@ _EOD # upon upgrade - and conflict with each other - install the fitting one only next if ($deb =~ /grub-pc_/ && $run_env->{boot_type} ne 'bios'); next if ($deb =~ /grub-efi-amd64_/ && $run_env->{boot_type} ne 'efi'); + next if ($deb =~ /^proxmox-secure-boot-support_/ && !$run_env->{secure_boot}); update_progress($count/$pkg_count, 0.5, 0.75, "extracting $deb"); print STDERR "extracting: $deb\n";