Hi Luca,

On 04/07/2016 04:51 PM, Luca Boccassi wrote:
On Wed, 2016-04-06 at 20:40 -0700, Kevin Locke wrote:
Starting in version 352.79-2 I am unable to build the nvidia kernel
module for custom kernels using make-kpkg (part of the kernel-package
package).

Sorry for the problem you are facing, it's a corner case that I don't
usually test.

That's quite alright.  Thanks for taking a look at it.

I didn't have time to fully reproduce your environment, but could you
please try with the attached patch (for the debian/rules in the 352.79-5
kernel-source)? It should allow one to pass an arbitrary KSRC directory
if the one derived from the version does not exist, which allows the
current behaviour to continue. I'll try and find the time to fully test
it myself as well in the following days.

The patch works for me. However, it looks like it could cause breakage if the kernel being built shared the same version as an installed kernel but had source differences (e.g. additional patches), since the sources for the installed kernel would be used rather than the kernel being built (for which the module is intended to be used).

Perhaps the rationale for removing support for KSRC can shed some light on the tradeoffs for this fix vs reverting the commit.

Thanks again,
Kevin

Reply via email to