postinst: Accept absolute paths in modules.dep generated by the lenny version of module-init-tools (Closes: #552610)
svn path=/dists/sid/linux-2.6/; revision=14531
This commit is contained in:
parent
5d798cb23c
commit
0ada151cfa
|
@ -9,6 +9,10 @@ linux-2.6 (2.6.31-2) UNRELEASED; urgency=low
|
||||||
* Add OpenRD-Client support again.
|
* Add OpenRD-Client support again.
|
||||||
* mips: fix build of vmlinux.lds (Closes: #552422).
|
* mips: fix build of vmlinux.lds (Closes: #552422).
|
||||||
|
|
||||||
|
[ Ben Hutchings ]
|
||||||
|
* postinst: Accept absolute paths in modules.dep generated by the
|
||||||
|
lenny version of module-init-tools (Closes: #552610)
|
||||||
|
|
||||||
-- Martin Michlmayr <tbm@cyrius.com> Tue, 27 Oct 2009 21:18:29 +0800
|
-- Martin Michlmayr <tbm@cyrius.com> Tue, 27 Oct 2009 21:18:29 +0800
|
||||||
|
|
||||||
linux-2.6 (2.6.31-1) unstable; urgency=low
|
linux-2.6 (2.6.31-1) unstable; urgency=low
|
||||||
|
|
|
@ -806,8 +806,10 @@ if ( -d "$modules_base/$version" ) {
|
||||||
my $module_path = $module_paths{$module};
|
my $module_path = $module_paths{$module};
|
||||||
if (defined($module_path)) {
|
if (defined($module_path)) {
|
||||||
my $first = 1;
|
my $first = 1;
|
||||||
open(MODINFO,
|
if ($module_path !~ m|^/|) {
|
||||||
"modinfo -F firmware '$modules_base/$version/$module_path' |");
|
$module_path = "$modules_base/$version/$module_path";
|
||||||
|
}
|
||||||
|
open(MODINFO, "modinfo -F firmware '$module_path' |");
|
||||||
while (<MODINFO>) {
|
while (<MODINFO>) {
|
||||||
chomp;
|
chomp;
|
||||||
my $firmware = $_;
|
my $firmware = $_;
|
||||||
|
|
Loading…
Reference in New Issue