]> git.proxmox.com Git - pve-firmware.git/commitdiff
assemble: mark ENOENT fw messages more clearly
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 9 Feb 2021 16:40:24 +0000 (17:40 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 10 Feb 2021 09:00:51 +0000 (10:00 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
assemble-firmware.pl

index 7edb66de1651f4efdcfbb941e07743694278ad40..abbfbe93149930bc687a2b00f4f4a933a3bdaead 100755 (executable)
@@ -351,10 +351,11 @@ while(defined(my $line = <TMP>)) {
        next;
     }
 
+    my $module = basename($mod);
     if ($fw =~ m|/|) {
        next if $skip->{$fw};
 
-       warn "unable to find firmware: $fw $mod\n";
+       warn "ERROR: unable to find firmware ($module): $fw\n";
        $error++;
        next;
     }
@@ -393,7 +394,7 @@ while(defined(my $line = <TMP>)) {
     next if $skip->{$fw};
     next if $fw =~ m|^dvb-|;
 
-    warn "unable to find firmware: $fw $mod\n";
+    warn "ERROR: unable to find firmware ($module): $fw\n";
     $error++;
     next;
 }