However, this isn't very generic. For the casual KMP backport you just have one or two .ko's, and thus can easily write a dkms.conf by hand. However, because the v4l-dvb tree has over 200 kernel modules, and changes often, I found that impractical and instead wrote a shell script to generate it for me.
But if it helps you in any way, so much the better.
Robie,
sure, the script I used for the v4l-dvb backport is at http:// people. ubuntu. com/~pitti/ scripts/ make-v4l- dkms.sh
However, this isn't very generic. For the casual KMP backport you just have one or two .ko's, and thus can easily write a dkms.conf by hand. However, because the v4l-dvb tree has over 200 kernel modules, and changes often, I found that impractical and instead wrote a shell script to generate it for me.
But if it helps you in any way, so much the better.