summaryrefslogtreecommitdiff
path: root/system/nvidia-kernel/nvidia-kernel.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2017-01-04 03:39:49 -0600
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-09 20:18:02 +0000
commitc30c401dc08205fdf8b4a8389ae4d6767727f5e3 (patch)
tree00b060da0c9f831e42fe22952820e486bcf49c27 /system/nvidia-kernel/nvidia-kernel.SlackBuild
parent526978ebfb5a81b2492c5e8e23363ed17c83f01c (diff)
downloadslackbuilds-c30c401dc08205fdf8b4a8389ae4d6767727f5e3.tar.gz
system/nvidia-kernel: Updated for version 375.26.
Include file to blacklist nouveau module Note we don't use the package from /extra. Signed-off-by: Robby Workman <rworkman@slackbuilds.org> Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/nvidia-kernel/nvidia-kernel.SlackBuild')
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index 5773e98d0b..1c53f43189 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -28,7 +28,7 @@
# see nvidia-driver/changelog.txt
PRGNAM=nvidia-kernel
-VERSION=${VERSION:-367.44}
+VERSION=${VERSION:-375.26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -95,10 +95,13 @@ fi
# Make sure the X is specified to automagically load the
# correct driver, since I always forget. You can remove
# this file if you have an equivilent entry in /etc/X11/xorg.d
-
mkdir -p $PKG/usr/share/X11/xorg.conf.d/
cat $TMP/$SRCNAM/nvidia-drm-outputclass.conf > $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
+# Blacklist the nouveau kernel module
+mkdir -p $PKG/lib/modprobe.d/
+cat $CWD/blacklist.conf > $PKG/lib/modprobe.d/nouveau.conf
+
mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild