From f8d1667c7f96d88619c3e1b344fe191e1a813309 Mon Sep 17 00:00:00 2001 From: tnut Date: Mon, 13 Sep 2010 11:10:34 +0200 Subject: nvidia-96xx, ajout post-install et 30-nvidia.conf --- acompiler/nvidia-96xx/.footprint | 4 ++++ acompiler/nvidia-96xx/Pkgfile | 13 ++++++++++++- acompiler/nvidia-96xx/post-install | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 acompiler/nvidia-96xx/post-install (limited to 'acompiler/nvidia-96xx') diff --git a/acompiler/nvidia-96xx/.footprint b/acompiler/nvidia-96xx/.footprint index 1ef7c3529..a7bda8e7e 100644 --- a/acompiler/nvidia-96xx/.footprint +++ b/acompiler/nvidia-96xx/.footprint @@ -1,3 +1,7 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/X11/ +drwxr-xr-x root/root etc/X11/xorg.conf.d/ +-rw-r--r-- root/root etc/X11/xorg.conf.d/30-nvidia.conf drwxr-xr-x root/root lib/ drwxr-xr-x root/root lib/modules/ drwxr-xr-x root/root lib/modules// diff --git a/acompiler/nvidia-96xx/Pkgfile b/acompiler/nvidia-96xx/Pkgfile index b3d87bd93..b69f5adda 100644 --- a/acompiler/nvidia-96xx/Pkgfile +++ b/acompiler/nvidia-96xx/Pkgfile @@ -6,7 +6,7 @@ name=nvidia-96xx version=96.43.18 -release=1 +release=2 kernel=`uname -r|sed "s/-NuTyX//"` source=(http://us.download.nvidia.com/XFree86/Linux-x86/$version/NVIDIA-Linux-x86-$version-pkg1.run\ ) @@ -45,5 +45,16 @@ build() { $PKG/usr/share/licences/nvidia-71xx/ install -D -m644 $PKGMK_WORK_DIR/src/NVIDIA-Linux-x86-$version-pkg1/usr/share/doc/README.txt $PKG/usr/share/doc/nvidia/README find $PKG/usr -type d -exec chmod 755 {} \; + mkdir -p $PKG/etc/X11/xorg.conf.d +cat > $PKG/etc/X11/xorg.conf.d/30-nvidia.conf << "EOF" +Section "Device" + Identifier "NVIDIA" + Driver "nvidia" +EndSection +Section "ServerFlags" +# temporary ignore abi mismatch until nvidia support xorg-server 1.9 + Option "IgnoreABI" "True" +EndSection +EOF } diff --git a/acompiler/nvidia-96xx/post-install b/acompiler/nvidia-96xx/post-install new file mode 100644 index 000000000..4772910f3 --- /dev/null +++ b/acompiler/nvidia-96xx/post-install @@ -0,0 +1,2 @@ +#!/bin/bash +depmod -- cgit v1.2.3-70-g09d2