[pkg-nvidia-devel] r866 - in /packages/nvidia-graphics-drivers/trunk/debian: changelog control nvidia-kernel-dkms.dkms rules
rra at users.alioth.debian.org
rra at users.alioth.debian.org
Sat May 8 05:42:39 UTC 2010
Author: rra
Date: Sat May 8 05:42:36 2010
New Revision: 866
URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=866
Log:
Add DKMS support
* Add an nvidia-kernel-dkms package which builds the kernel module using
DKMS and hence automatically does the right thing with kernel upgrades
(provided the module builds). (Closes: #334848, #528758)
Added:
packages/nvidia-graphics-drivers/trunk/debian/nvidia-kernel-dkms.dkms
Modified:
packages/nvidia-graphics-drivers/trunk/debian/changelog
packages/nvidia-graphics-drivers/trunk/debian/control
packages/nvidia-graphics-drivers/trunk/debian/rules
Modified: packages/nvidia-graphics-drivers/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/changelog?rev=866&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/changelog (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/changelog Sat May 8 05:42:36 2010
@@ -2,6 +2,9 @@
[ Russ Allbery ]
* New upstream release. (Closes: #571674, #575457, #575550, #578589)
+ * Add an nvidia-kernel-dkms package which builds the kernel module using
+ DKMS and hence automatically does the right thing with kernel upgrades
+ (provided the module builds). (Closes: #334848, #528758)
[ Andreas Beckmann ]
* do not ship empty directory in module package
Modified: packages/nvidia-graphics-drivers/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/control?rev=866&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/control (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/control Sat May 8 05:42:36 2010
@@ -7,7 +7,7 @@
Russ Allbery <rra at debian.org>,
Vcs-Svn: svn://svn.debian.org/svn/pkg-nvidia/packages/nvidia-graphics-drivers
Vcs-Browser: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers
-Build-Depends: debhelper (>= 7.2.3~), libxext6, bzip2,
+Build-Depends: debhelper (>= 7.2.3~), libxext6, bzip2, dkms (>= 2.1.1.1),
libc6-dev-i386 [amd64], lib32gcc1 [amd64], lib32z1 [amd64],
ia32-libs (>= 20090804) [amd64]
Standards-Version: 3.8.4
@@ -27,9 +27,9 @@
OpenGL applications via a direct-rendering X Server.
AGP, PCIe, SLI, TV-out and flat panel displays are also supported.
.
- Please see the nvidia-kernel-source package
- for building the kernel module required by this package.
- This will provide nvidia-kernel-${nvidia:Version}.
+ Please see the nvidia-kernel-source or nvidia-kernel-dkms packages for
+ building the kernel module required by this package. This will provide
+ nvidia-kernel-${nvidia:Version}.
.
This version only supports GeForce 6xxx and higher of the Geforce GPUs
plus complimentary Quadros and nforce. Look at the legacy packages
@@ -75,6 +75,26 @@
For more information on this source package visit NVIDIA's homepage
at http://www.nvidia.com/ .
+Package: nvidia-kernel-dkms
+Section: non-free/kernel
+Architecture: i386 amd64
+Depends: ${misc:Depends}, dkms
+Recommends: nvidia-glx (>= ${nvidia:Version})
+Provides: nvidia-kernel-${nvidia:Version}
+Description: NVIDIA binary kernel module DKMS source
+ This package builds the NVIDIA Xorg binary kernel module needed by
+ nvidia-glx, using DKMS. The kernel module will be built for your running
+ kernel and automatically rebuilt for any new kernels that are installed.
+ .
+ The NVIDIA binary drivers provide optimized hardware acceleration of
+ OpenGL applications via a direct-rendering X Server for graphics cards
+ using NVIDIA chip sets. AGP, PCIe, SLI, TV-out and flat panel displays
+ are also supported.
+ .
+ This version only supports GeForce 6xxx and higher of the Geforce GPUs
+ plus complimentary Quadros and nforce. Look at the legacy packages for
+ older cards.
+
Package: nvidia-kernel-source
Section: non-free/kernel
Architecture: i386 amd64
Added: packages/nvidia-graphics-drivers/trunk/debian/nvidia-kernel-dkms.dkms
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/nvidia-kernel-dkms.dkms?rev=866&op=file
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/nvidia-kernel-dkms.dkms (added)
+++ packages/nvidia-graphics-drivers/trunk/debian/nvidia-kernel-dkms.dkms Sat May 8 05:42:36 2010
@@ -1,0 +1,12 @@
+# DKMS configuration for the NVIDIA kernel module. -*- sh -*-
+
+# The version is replaced at build time by dh_dkms invoked in debian/rules.
+PACKAGE_NAME="nvidia"
+PACKAGE_VERSION="#MODULE_VERSION#"
+
+BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
+DEST_MODULE_LOCATION[0]="/updates/dkms/"
+AUTOINSTALL=yes
+
+MAKE[0]="make -C . LINUXDIR=${kernel_source_dir} KVERREL=${kernelver}"
+CLEAN="make -C . LINUXDIR=${kernel_source_dir} KVERREL=${kernelver} clean"
Modified: packages/nvidia-graphics-drivers/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/rules?rev=866&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Sat May 8 05:42:36 2010
@@ -75,6 +75,15 @@
tar cfvj nvidia-kernel.tar.bz2 -C debian/temp --owner=root --group=src \
--exclude '*.in' --exclude '.svn' modules
tar tfvj nvidia-kernel.tar.bz2
+
+ # Use the nvidia-kernel-source source to create the DKMS tree.
+ mkdir -p debian/nvidia-kernel-dkms/usr/src
+ mv debian/temp/modules/nvidia-kernel \
+ debian/nvidia-kernel-dkms/usr/src/nvidia-$(version)
+ cd debian/nvidia-kernel-dkms/usr/src/nvidia-$(version) \
+ && QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null push -a \
+ && rm -rf .pc debian
+ dh_dkms -V $(version)
rm -rf debian/temp
touch $@
More information about the Pkg-nvidia-devel
mailing list