build: move/merge files
the control files were merged as appropriate, the rest are plain renames.
This commit is contained in:
parent
5de7886d45
commit
2d62d8a400
13 changed files with 38 additions and 33 deletions
32
debian/scripts/find-firmware.pl
vendored
Executable file
32
debian/scripts/find-firmware.pl
vendored
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
use strict;
|
||||
|
||||
my $dir = shift;
|
||||
|
||||
die "no directory to scan" if !$dir;
|
||||
|
||||
die "no such directory" if ! -d $dir;
|
||||
|
||||
die "strange directory name" if $dir !~ m|^(.*/)?(4.13.\d+\-\d+\-pve)(/+)?$|;
|
||||
|
||||
my $apiver = $2;
|
||||
|
||||
open(TMP, "find '$dir' -name '*.ko'|");
|
||||
while (defined(my $fn = <TMP>)) {
|
||||
chomp $fn;
|
||||
my $relfn = $fn;
|
||||
$relfn =~ s|^$dir/*||;
|
||||
|
||||
my $cmd = "/sbin/modinfo -F firmware '$fn'";
|
||||
open(MOD, "$cmd|");
|
||||
while (defined(my $fw = <MOD>)) {
|
||||
chomp $fw;
|
||||
print "$fw $relfn\n";
|
||||
}
|
||||
close(MOD);
|
||||
|
||||
}
|
||||
close TMP;
|
||||
|
||||
exit 0;
|
Loading…
Add table
Add a link
Reference in a new issue