summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-09-13 11:10:34 +0200
committertnut <thierryn1 at hispeed dot ch>2010-09-13 11:10:34 +0200
commitf8d1667c7f96d88619c3e1b344fe191e1a813309 (patch)
tree4a481a9fe54e48d4d9d0ceb970523cb3b9c5b615
parent8c3f1c7c9f374184827df6a53a13b1b875c93834 (diff)
downloadnutyx-pakxe-f8d1667c7f96d88619c3e1b344fe191e1a813309.tar.gz
nutyx-pakxe-f8d1667c7f96d88619c3e1b344fe191e1a813309.tar.bz2
nutyx-pakxe-f8d1667c7f96d88619c3e1b344fe191e1a813309.tar.xz
nutyx-pakxe-f8d1667c7f96d88619c3e1b344fe191e1a813309.zip
nvidia-96xx, ajout post-install et 30-nvidia.conf
-rw-r--r--acompiler/nvidia-96xx/.footprint4
-rw-r--r--acompiler/nvidia-96xx/Pkgfile13
-rw-r--r--acompiler/nvidia-96xx/post-install2
3 files changed, 18 insertions, 1 deletions
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/<kernel-version>/
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