PDA

View Full Version : nvidia linux 2.5 patch


downpour
05-16-03, 08:12 PM
I'm sorry, this is a real remedial question, but how do I apply the nvidia kernel diff from www.minion.com against the makefile distributed with the nvidia linux drivers?

bwkaz
05-17-03, 09:13 AM
patch -Np1 </path/to/patchfile

-N says "create files that don't exist" -- I don't think it's needed for this patch, but it is for some of them.

-p1 says "strip off one directory from the front of the files to patch". You have to run this command from inside the nVidia kernel driver directory (which you only get after running sh NVIDIA-linux-whatever.run --extract-only), from inside usr/src/nv (the usr/src/nv that's in the newly-created directory, not /usr/src/nv, since that doesn't exist).