diff options
author | Edward Koenig <kingbeowulf@gmail.com> | 2011-07-05 16:27:28 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:59:29 -0300 |
commit | 0484c8e4d3c3deb62450556b0bae5b41661b9146 (patch) | |
tree | 962e9dcbf62b9741d604e3ab782687e9bf61075f /system/nvidia-kernel/nvidia-kernel.SlackBuild | |
parent | bb4cdd3144f277e9ccc90dfcccf709e5b1c6526e (diff) | |
download | slackbuilds-0484c8e4d3c3deb62450556b0bae5b41661b9146.tar.gz |
system/nvidia-kernel: Updated for version 275.09.07.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/nvidia-kernel/nvidia-kernel.SlackBuild')
-rw-r--r-- | system/nvidia-kernel/nvidia-kernel.SlackBuild | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild index d3991c97b2..eb21b0ef34 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" |