]> git.proxmox.com Git - pve-firmware.git/commitdiff
skip amd microcode, let it ship by amd64-microcode
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 13 Jul 2022 06:27:53 +0000 (08:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 13 Jul 2022 06:37:40 +0000 (08:37 +0200)
Instead of adding a replace/provide for amd64-microcode rather drop
the files here, as the Debian package is updated frequently enough
and contains additional µcode IIRC

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
assemble-firmware.pl

index b043cb2316833544000825b5c4745bfb26cf0bef..828c38cd5e610364a40700edafcd08798a0da620 100755 (executable)
@@ -379,6 +379,8 @@ while(defined(my $line = <$fd>)) {
     chomp $line;
     my ($fw, $mod) = split(/\s+/, $line, 2);
 
+    next if $fw =~ m/\b(?:microcode_amd|amd_sev_)/; # contained in amd64-microcode
+
     my $fw_name = basename($fw);
     $fwbase_name->{$fw_name} = 1;