Try pre-built modules in a more version-match-probabilty sorted way.
authorshort <>
Wed, 20 Aug 2003 20:28:12 +0000 (20:28 +0000)
committershort <>
Wed, 20 Aug 2003 20:28:12 +0000 (20:28 +0000)
kernel/Linux/prepmod.in

index e499904..6cd40b6 100755 (executable)
@@ -125,7 +125,7 @@ for ("$vardir/lufs.o") {
        }
 
 local $_;
-while (<$modbindir/*.o>) {
+for (<$modbindir/*-$uname_r.o>,<$modbindir/*-${uname_r_base}*.o>,<$modbindir/*.o>) {
        next if _system "rmmod lufs 2>/dev/null; insmod -o lufs -p $_ 2>/dev/null";
        do { cluck "Failed to symlink $_"; next; } if _system "mkdir -p $moduledir; ln -s $_ $moduledir/lufs.o";
        _pass 1;