aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-kernel/nvidia-kernel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-kernel/nvidia-kernel.SlackBuild')
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild22
1 files changed, 7 insertions, 15 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index d3991c97b24d..eb21b0ef3423 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -29,10 +29,11 @@
# 1.0 20-MAR-2011 New Maintainer: Edward W. Koenig <kingbeowulf@gmail.com>
# 1.1 10-APR-2011 updated to new version, testing 13.37rc4.6692
# 1.2 27-MAY-2011 new version, blacklist nouveau, fix ups, tested 13.37-stable
+# 1.5 01-JULY-2011 new version, kill SRCSUFFIX nonsense, use blacklist in /extra
#
PRGNAM=nvidia-kernel
-VERSION=270.41.19
+VERSION=275.09.07
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,13 +58,11 @@ elif [ "$ARCH" = "i686" ]; then
SRCSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
TARGET="x86_64"
- SRCSUFFIX=${SRCSUFFIX:-}
-# pass SRCSUFFIX="-no-compat32" if you d/l that version.
fi
unset ARCH
-SRCNAM=NVIDIA-Linux-$TARGET-${VERSION}${SRCSUFFIX}
+SRCNAM=NVIDIA-Linux-$TARGET-${VERSION}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -84,18 +83,11 @@ cd kernel || exit 1
make SYSSRC=$KERNELPATH module || exit 1
mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video
-install -m 0644 nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
+install -m 0664 nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
-# Blacklist the nouveau driver (ok, I know this will annoy some using
-# nvidia-switch and you need to reboot for this to work)...
-mkdir -p $PKG/etc/modprobe.d
-cat <<EOF > $PKG/etc/modprobe.d/blacklist-nouveau.conf
-blacklist nouveau
-EOF
-
-#... AND make sure the nvidia driver is specified to
-# automagically load the correct driver, since I always forget. If you
-# create a proper full xorg.conf, then this isn't needed.
+# Make sure the nvidia driver is specified to automagically load the
+# correct driver, since I always forget. If you create a proper full xorg.conf,
+# then this isn't needed.
mkdir -p $PKG/etc/X11/xorg.conf.d
cat << EOF > $PKG/etc/X11/xorg.conf.d/device.conf
Section "Device"