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

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Jul 11 14:22:30 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