[Mesa-dev] [PATCH 2/2] dri/common: drop loading /etc/drirc

Kenneth Graunke kenneth at whitecape.org
Wed Sep 2 13:56:15 PDT 2015


On Wednesday, September 02, 2015 02:26:56 AM Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> A user can be using Mesa 11.0, but /etc/drirc can be from Mesa 10.5.
> We don't want the old drirc to affect Mesa 11.0.
> 
> There are 2 options:
> - use a different file name (e.g. /etc/drirc_global) for people wanting
>   a global drirc file, but they must supply it by themselves
> - just don't load it, users should use ~/.drirc
> 
> This patch implements the latter.
> ---
>  src/mesa/drivers/dri/common/xmlconfig.c | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)

I don't really get the rationale.  /etc/drirc could be properly managed
by the package manager - shipped alongside *_dri.so in the same package.
Maybe it isn't today, but it could be handled well.

But ~/.drirc is entirely in the users control.  Neither the distros nor
us can manage what the user puts there.  It's *very* likely to be
stale...

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150902/f9197a9c/attachment.sig>


More information about the mesa-dev mailing list