lttng-modules-dkms won't install depending on kernel configuration

Bug #961857 reported by Stéphane Graber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lttng-modules (Ubuntu)
Fix Released
Undecided
Stéphane Graber

Bug Description

This is mostly annoying for armel/armhf.

lttng-modules-dkms ships a dkms.conf that contains the list of kernel modules to build at install time.
Unfortunately this list is dynamic, depending on the kernel configuration but dkms.conf is a static file.

This means that at the moment, installing lttng-modules-dkms on a system that for example doesn't have kvm enabled will fail.

We should either find some option in dkms to ignore missing modules, match all *.ko or have a pre-build script generating a new dkms.conf based on the target kernel config.

I remember seeing this issue on 11.10 and it should still be there for 12.04, unfortunately my panda board currently refuses to build lttng-modules at all running 11.10. I'll try tomorrow with a clean Ubuntu 12.04 daily and will look into this bug then.

Changed in lttng-modules (Ubuntu):
assignee: nobody → Stéphane Graber (stgraber)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lttng-modules - 2.0.0-0ubuntu2

---------------
lttng-modules (2.0.0-0ubuntu2) precise; urgency=low

  * Abuse the fact that dkms.conf is sourced by a shell script to
    have it generated on the fly depending on the target kernel configuration.
    This allows for lttng-modules-dkms to be installed with varying
    kernel configs, most notably on ARM. (LP: #961857)
 -- Stephane Graber <email address hidden> Thu, 22 Mar 2012 23:07:54 -0400

Changed in lttng-modules (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.