View Single Post
Old 04-11-09, 07:35 PM   #17
upstaked
Registered User
 
Join Date: Feb 2008
Posts: 7
Default Re: 2.6.29 Debian is breaking NVIDIA (and other kernel module packages)

Quote:
Originally Posted by microcris View Post
How do you apply the patch?

I made this:
[...]
The patch is against the source package; you'll need deb-src .. unstable non-free in your sources.list.

cd /tmp/
apt-get source nvidia-kernel-source
patch -p0 < attachment-0004.patch
# this failed for me in nvidia-graphics-drivers-180.29/debian/rules
# i edited the file manually end added this at line 96: (remove the #, of course)
#cp -a $(CURDIR)/debian.binary/control.template $(CURDIR)/debian/temp/modules/nvidia-kernel$(LEGACY)/debian/control
cd nvidia-graphics-drivers-180.29/
dpkg-buildpackage -rfakeroot -b
cd ..
sudo dpkg -i nvidia-kernel-source_180.29-1_amd64.deb
# you can install the created nvidia-glx as well, it will get auto-configured after installing the module
sudo m-a build nvidia-kernel
sudo dpkg -i /usr/src/nvidia-kernel-2.6.29*.deb
# if you didn't install nvidia-kernel-common already, and get an error:
sudo apt-get install -f
__________________
A bitter future former nVidia owner.
upstaked is offline   Reply With Quote