Bug#638965: xserver-xorg-core: add override directory that is prepended to the module search path

Andreas Beckmann debian at abeckmann.de
Tue Aug 23 11:38:12 UTC 2011


Package: xserver-xorg-core
Version: 2:1.7.7-13
Severity: wishlist

Hi,

as this was discussed on the mailing list before, see e.g.
[1] http://lists.debian.org/debian-x/2011/08/msg00157.html
[2] http://lists.debian.org/debian-x/2011/08/msg00364.html
there is need for an override directory that is prepended to the module
search path.
In [1] I describe my analysis of the current search path system and in
[2] Julien says
    I'd prefer an explicit override directory over abusing 'linux'.

An override directory could be used so that vendor implementations of a
module (e.g. libglx.so) can be installed installed in the override
directory and will be found before the native xorg module without having
to use dpkg-divert on the original module. Such a solution would simplify
using update-alternatives to enable/disable the vendor implementation
without installing/removing packages.

For the time being, /usr/lib/xorg/modules/linux/ could be abused for
that purpose.

Andreas





More information about the pkg-nvidia-devel mailing list