summaryrefslogtreecommitdiffstats
path: root/acompiler
diff options
context:
space:
mode:
Diffstat (limited to 'acompiler')
-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