[pve-devel] [PATCH v2 kernel 2/3] modinfo is not in a user's PATH

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Jul 12 10:31:14 CEST 2016


---
 find-firmware.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/find-firmware.pl b/find-firmware.pl
index 0e1b3ea..18e8962 100755
--- a/find-firmware.pl
+++ b/find-firmware.pl
@@ -18,7 +18,7 @@ while (defined(my $fn = <TMP>)) {
     my $relfn = $fn;
     $relfn =~ s|^$dir/*||;
 
-    my $cmd = "modinfo -F firmware '$fn'";
+    my $cmd = "/sbin/modinfo -F firmware '$fn'";
     open(MOD, "$cmd|");
     while (defined(my $fw = <MOD>)) {
 	chomp $fw;
-- 
2.1.4





More information about the pve-devel mailing list