wok diff mesa-dri-nouveau/receipt @ rev 18725

lynis 2.1.1: fix: installs in /usr/share/lynis but can not be found, trying /usr/local/share (as in example on dev website)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Dec 18 13:20:19 2015 +0000 (2015-12-18)
parents ac843e45fd3c
children f7dd646afeb9
line diff
     1.1 --- a/mesa-dri-nouveau/receipt	Thu Jun 13 10:12:01 2013 +0200
     1.2 +++ b/mesa-dri-nouveau/receipt	Fri Dec 18 13:20:19 2015 +0000
     1.3 @@ -7,14 +7,20 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  LICENSE="MIT"
     1.6  WEB_SITE="http://www.mesa3d.org/"
     1.7 -DEPENDS="mesa mesa-dri libdrm-nouveau"
     1.8 +DEPENDS="mesa libdrm-nouveau"
     1.9  WANTED="mesa"
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14 -	mkdir -p $fs/usr/lib/dri
    1.15 +	mkdir -p $fs/usr/lib/dri $fs/etc/X11/xorg.conf.d
    1.16  	cp $install/usr/lib/dri/nouveau_vieux_dri.so $fs/usr/lib/dri
    1.17 +	cat > $fs/etc/X11/xorg.conf.d/90-DRI.conf <<EOT
    1.18 +Section "DRI"
    1.19 +        Mode         0666
    1.20 +EndSection
    1.21 +EOT
    1.22 +	chown -R root.root $fs
    1.23  }
    1.24  
    1.25  TAZBB_NO_INSTALL="because this is not hardware neutral"