[Mesa-dev] [PATCH 1/2] dri/common: embed drirc into driver binaries

Kenneth Graunke kenneth at whitecape.org
Wed Sep 2 23:26:46 PDT 2015


On Wednesday, September 02, 2015 02:38:38 PM Matt Turner wrote:
> On Wed, Sep 2, 2015 at 1:43 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> > On Wednesday, September 02, 2015 02:26:55 AM Marek Olšák wrote:
> >> From: Marek Olšák <marek.olsak at amd.com>
> >>
> >> People are having issues with apps because drirc wasn't installed
> >> into /etc. I've lost patience.
> >> ---
> >>  src/mesa/drivers/dri/common/Makefile.am      |   4 +-
> >>  src/mesa/drivers/dri/common/Makefile.sources |   3 +-
> >>  src/mesa/drivers/dri/common/drirc            |  84 --------------------
> >>  src/mesa/drivers/dri/common/drirc_built_in.h | 111 +++++++++++++++++++++++++++
> >>  src/mesa/drivers/dri/common/xmlconfig.c      |  30 +++++++-
> >>  5 files changed, 140 insertions(+), 92 deletions(-)
> >>  delete mode 100644 src/mesa/drivers/dri/common/drirc
> >>  create mode 100644 src/mesa/drivers/dri/common/drirc_built_in.h
> >
> > I really dislike this idea, but I understand your frustration.  Distros
> > often seem to ship bunk /etc/drirc files.
> >
> > It seems that "make install" doesn't actually install /etc/drirc today.
> > Fixing that would probably go a long way in helping this problem...
> 
> What makes you think that?

My mistake - apparently I didn't bother to set --sysconfdir properly, so
my "make DESTDIR=/tmp/foo install" put it in /tmp/foo/usr/local/etc/,
which I wasn't expecting.

So you're right, "make install" does install it.
-------------- 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/9a6c77fe/attachment.sig>


More information about the mesa-dev mailing list