]> git.proxmox.com Git - pve-installer.git/commitdiff
skip proxmox-secure-boot-support if secureboot is not enabled
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 23 Apr 2024 12:27:54 +0000 (14:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 13:18:29 +0000 (15:18 +0200)
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 <f.gruenbichler@proxmox.com>
Proxmox/Install.pm

index 82619ae8b7eccd1cb5f26ba928c064a2f41541de..e2f8ad94975a29377ccc2c936a7e6005d1ad218c 100644 (file)
@@ -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";