[repo-coord] overriding kernel modules on 2.6.x
Matthias Saou
matthias at rpmforge.net
Fri Jun 18 11:02:27 CEST 2004
Fernando Pablo Lopez-Lezcano wrote :
> Has anyone else noticed that is not possible to override kernel modules
> reliably on 2.6.x/FC2? The new module-init-tools depmod does not have
> the option of specifying search directories and it just recurses (in
> readdir order) through the directories in /lib/modules/`uname -r`.
>
> I stumbled into this because I would like to be able to leave the
> original alsa modules that come with 2.6.x in place, but be able to
> override them with newer versions by installing an extra package.
>
> Apparently I have two solutions, one would be to configure the 2.6.x
> kernel without alsa (lousy), the other (don't like it either) would be
> to patch module-init-tools. Simplest patch I can think of that does not
> alter functionality would be to preorder (alphabetically) the module
> directories before recursing into them...
Thomas patched modutils in order to get the old behavior of having
modules in "updates" take priority again. There is also an open
bugzilla.redhat.com bug to which he attached his patch...
http://thomas.apestaart.org/download/pkg/fedora-2-i386-fedora-stable/modutils-2.4.26-16.fdr.2.2/
Matthias
--
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 2 (Tettnang) - Linux kernel 2.6.6-1.435
Load : 0.48 0.32 0.36
More information about the repo-coord
mailing list