Bug#720682: does only build for running kernel

Vincent Cheng vincentc1208 at gmail.com
Sat Aug 24 19:13:48 UTC 2013


Hi Marc,

On Sat, Aug 24, 2013 at 2:32 AM, Marc Haber
<mh+debian-packages at zugschlus.de> wrote:
> Package: bbswitch-source
> Version: 0.7-2
> Severity: important
>
> Hi,
>
> the Makefile in the unpacked kernel sets its KVERSION variable to
> uname -r, which makes the build fail for any kernel version unequal
> the running kernel.
>
> This kind of defeats the purpose of having a -source package which
> should allow modules to be built before the kernel has been booted yet.
>
> Please take precautions to allow building the bbswitch kernel module
> for a kernel that is not the one running currently:
[...]
> At a second look to the upstream Makefile, one sees that it make
> install will install to /lib/modules/$(KVERSION), hardcoded. Has this
> ever been actually tested for building of Debian packages? If so, how
> was it tested?

No, I've never tested the -source package myself, to be honest; I use
dkms on my own systems instead of module-assistant. The -source
package's packaging was contributed by David Kalnischkies (in
#715398); I simply took his proposed patch as-is.

So, in summary...patches welcome! :)

Regards,
Vincent



More information about the pkg-nvidia-devel mailing list