Creating a debian package with a kernel module seems fairly easy as described here and elsewhere. I want to update an existing module with a patch. How would I go about this? I don't really have a source tarball to unpack, but rather I would use the module source for whatever kernel version dkms is building for.
For example let's say I have kernel version 1.2.3 installed, then I would like to build the kernelmodule uvcvideo with version 1.2.3 of the sources, with the addition of a patch. Do I get the sources before I create the dkms .deb package, or do I fetch them during build somehow?
Does the question make sense? How to do it?