mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/nvidia-kernel: Updated for version 280.13.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
8b8acd9eb6
commit
164524dcc2
4 changed files with 23 additions and 20 deletions
6
system/nvidia-kernel/10-nvidia.conf
Normal file
6
system/nvidia-kernel/10-nvidia.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
Section "Device"
|
||||
Identifier "Device0"
|
||||
Driver "nvidia"
|
||||
VendorName "Nvidia Corporation"
|
||||
BoardName ""
|
||||
EndSection
|
|
@ -3,6 +3,10 @@ You also need the nvidia-driver package from SlackBuilds.org.
|
|||
|
||||
To build the package for a kernel different from the running one,
|
||||
start the script setting the KERNEL variable as in
|
||||
KERNEL=2.6.38.4 ./nvidia-kernel.SlackBuild
|
||||
KERNEL=2.6.38.8 ./nvidia-kernel.SlackBuild
|
||||
|
||||
A default config file is placed at /usr/share/X11/xorg.conf.d/10-nvidia.conf
|
||||
to make sure that X loads the nvidia module. If you need to make changes,
|
||||
copy that file to /etc/X11/xorg.conf.d/ and edit the copy.
|
||||
|
||||
The xf86-video-nouveau-blacklist package from /extra is required.
|
||||
|
|
|
@ -30,10 +30,11 @@
|
|||
# 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
|
||||
# 1.6 30-AUG-2011 version bump, typo clean ups
|
||||
#
|
||||
|
||||
PRGNAM=nvidia-kernel
|
||||
VERSION=275.09.07
|
||||
VERSION=280.13
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -85,19 +86,11 @@ make SYSSRC=$KERNELPATH module || exit 1
|
|||
mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video
|
||||
install -m 0664 nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
|
||||
|
||||
# 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"
|
||||
Identifier "Device0"
|
||||
Driver "nvidia"
|
||||
VendorName "Nvidia Corporation"
|
||||
BoardName ""
|
||||
Option "CoolBits" "1"
|
||||
EndSection
|
||||
EOF
|
||||
# Make sure the X is specified to automagically load the
|
||||
# correct driver, since I always forget.
|
||||
|
||||
mkdir -p $PKG/usr/share/X11/xorg.conf.d/
|
||||
cat $CWD/10-nvidia.conf > $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
|
||||
cp -a README.template $PKG/usr/doc/$PRGNAM-$PKGVER
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="nvidia-kernel"
|
||||
VERSION="275.09.07"
|
||||
VERSION="280.13"
|
||||
HOMEPAGE="http://www.nvidia.com"
|
||||
DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/275.09.07/NVIDIA-Linux-x86-275.09.07.run"
|
||||
MD5SUM="d779057af3a2f96a05ddda201606618b"
|
||||
DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/275.09.07/NVIDIA-Linux-x86_64-275.09.07.run"
|
||||
MD5SUM_x86_64="29f28cd59e2647cdb517eca2381d3dbd"
|
||||
DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/280.13/NVIDIA-Linux-x86-280.13.run"
|
||||
MD5SUM="c3992c8cef02b7773a398640d8830e77"
|
||||
DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/280.13/NVIDIA-Linux-x86_64-280.13.run"
|
||||
MD5SUM_x86_64="8f0e8d88a824f0bed27faa56a939a4f6"
|
||||
MAINTAINER="Edward Koenig"
|
||||
EMAIL="kingbeowulf@gmail.com"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue