[Pkg-dkms-maint] Bug#703842: dkms: consider adding dependency on lsb-release

Mike Miller mtmiller at ieee.org
Sun Mar 24 16:14:00 UTC 2013

Package: dkms
Severity: minor

Dear Maintainer,

Please consider adding a dependency on lsb-release for dkms, either Depends or

DKMS uses the lsb_release command to determine what distribution is running.
Based on that it chooses different installation paths for installed kernel

If the lsb-release package is installed, drivers are installed to
/lib/modules/$(uname -r)/updates/dkms

If the lsb-release package is not installed, drivers are installed to whatever
path the specific driver specifies in its dkms.conf.

Either way the system works, but is not consistent from one installation to the
next if lsb-release is added or removed. Nothing is broken, I'm just hoping to
fix this inconsistency.

Another alternative would be to patch dkms to have a distro_version_deb
function analogous to the existing distro_version_rpm function.



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dkms depends on:
ii  build-essential    11.5
ii  coreutils          8.13-3.5
ii  dpkg-dev           1.16.9
ii  gcc                4:4.7.2-1
ii  make               3.81-8.2
ii  module-init-tools  9-2
ii  patch              2.6.1-3

Versions of packages dkms recommends:
ii  fakeroot                                     1.18.4-2
ii  linux-headers-3.2.0-4-amd64 [linux-headers]  3.2.39-2
ii  linux-headers-amd64 [linux-headers]          3.2+46
ii  linux-image-3.2.0-4-amd64 [linux-image]      3.2.39-2
ii  menu                                         2.1.46
ii  sudo                                         1.8.5p2-1+nmu1

dkms suggests no packages.

-- no debconf information

More information about the Pkg-dkms-maint mailing list