summaryrefslogtreecommitdiffstats
path: root/convert
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-07 14:02:31 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-07 14:02:31 +0000
commit7612ba59237f194a6391f12975a3917ebb7692f8 (patch)
tree636791f6465ed34d23649a3e684c1126107ef90f /convert
parent7a5b9a469ed86f4e16cbde7c39b77fe2545cad32 (diff)
downloadldetect-lst-7612ba59237f194a6391f12975a3917ebb7692f8.tar
ldetect-lst-7612ba59237f194a6391f12975a3917ebb7692f8.tar.gz
ldetect-lst-7612ba59237f194a6391f12975a3917ebb7692f8.tar.bz2
ldetect-lst-7612ba59237f194a6391f12975a3917ebb7692f8.tar.xz
ldetect-lst-7612ba59237f194a6391f12975a3917ebb7692f8.zip
use fallback-modules.alias to build preferred-modules.alias
Diffstat (limited to 'convert')
-rwxr-xr-xconvert/uniquify-modalias.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/convert/uniquify-modalias.pl b/convert/uniquify-modalias.pl
index 90ed0f10..89345ce5 100755
--- a/convert/uniquify-modalias.pl
+++ b/convert/uniquify-modalias.pl
@@ -102,9 +102,8 @@ sub print_module {
print STDERR "unable to choose for $modalias " . join(" ", map { $_->[1] } @modules) . "\n";
}
-#- we are only interested in the last group:
-# /lib/modules/`uname -r`/modules.alias
-my $alias_group = top(modalias::get_alias_groups());
+my $alias_group = {};
+modalias::parse_path($alias_group, "../lst/fallback-modules.alias");
foreach my $class (qw(pci pcmcia usb)) {
my @class_other = group_by2(@{$alias_group->{$class}{other}});