]> git.proxmox.com Git - pve-firmware.git/blobdiff - assemble-firmware.pl
Update list of Conflicts/Replaces packages
[pve-firmware.git] / assemble-firmware.pl
index 35cd7403491ee11e98560028954c33f4ab6ccee6..c3a8bfe3a14fbd6de21b3e0848b95dd07eccf37b 100755 (executable)
@@ -325,6 +325,14 @@ amdgpu/raven_sdma.bin
 amdgpu/raven_vcn.bin
 amdgpu/raven_vcn.bin
 
+iwlwifi-9260-th-a0-jf-a0-34.ucode
+iwlwifi-9000-pu-a0-jf-b0-34.ucode
+iwlwifi-9000-pu-a0-jf-a0-34.ucode
+iwlwifi-QuQnj-a0-hr-a0-34.ucode
+iwlwifi-QuQnj-a0-jf-b0-34.ucode
+iwlwifi-QuQnj-f0-hr-a0-34.ucode
+iwlwifi-Qu-a0-jf-b0-34.ucode
+iwlwifi-Qu-a0-hr-a0-34.ucode
 )) {
     $skip->{$fw} = 1;
 }
@@ -342,6 +350,8 @@ sub copy_fw {
 
 my $fwdone = {};
 
+my $error = 0;
+
 open(TMP, $fwlist);
 while(defined(my $line = <TMP>)) {
     chomp $line;
@@ -400,7 +410,9 @@ while(defined(my $line = <TMP>)) {
     if ($fw =~ m|/|) {
        next if $skip->{$fw};
 
-        die "unable to find firmware: $fw $mod\n";
+       warn "unable to find firmware: $fw $mod\n";
+       $error++;
+       next;
     }
 
     my $name = basename($fw);
@@ -432,8 +444,10 @@ while(defined(my $line = <TMP>)) {
     next if $skip->{$fw};
     next if $fw =~ m|^dvb-|;
 
-    die "unable to find firmware: $fw $mod\n";
+    warn "unable to find firmware: $fw $mod\n";
+    $error++;
+    next;
 }
 close(TMP);
 
-exit(0);
+exit($error);