Re: [PATCH] xlibmesa-drm-src: divert original kernel modules out of the way
On Sat, 2003-11-08 at 18:07, Flavio Stanchina wrote:
> I'm experimenting with XFree86 4.3.0-0pre1v4 and I installed the
> xlibmesa-drm-src package to get OpenGL working on my Radeon. There's one
> problem though: dpkg complains loudly because the new DRM modules would
> overwrite the old kernel modules, so either one rebuilds his kernel
> without old DRM modules or he has to --force installation.
xlibmesa-drm-src no longer exists, the last version was 4.3.0-0pre1v1.
That being said...
> This patch solves the problem by diverting the old modules out of the
> way, to a directory called /lib/modules/$(KVERS)_diversions. It works
> for me, but it's really just a quick hack: for example, I preprocess the
> preinst and postrm scripts with sed instead of m4 because I know nothing
> about m4 and I couldn't get it to work. I hope the idea is fine though.
I'm afraid not, because the list of modules varies between
architectures. My current drm-trunk-module-src generates dpkg-divert
calls only for the actually available modules.
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Software libre enthusiast | http://svcs.affero.net/rm.php?r=daenzer
Reply to: