[Pkg-dkms-maint] Bug#704917: missleading documentation for dkms add

Evgeni Golov evgeni at debian.org
Sun Apr 7 16:31:00 UTC 2013


Package: dkms
Version: 2.2.0.3-1.2
Severity: minor

Hi,

man dkms says about dkms add:
    add [module/module-version] [/path/to/source-tree] [/path/to/tarball.tar]
        Adds  a  module/module-version combination to the tree for builds and
        installs. If module/module-version, -m module/module-version, or -m
        module -v version are passed as options, this command requires source
        in /usr/src/<module>-<module-version>/ as well as a properly formatted
        dkms.conf file.  If  /path/to/source-tree is passed as an option, and
        source-tree contains a dkms.conf file, it will copy
        /path/to/source-tree to /usr/src/module-module-version.
        If /path/to/tarball.tar is passed, this command behaves like the
        ldtarball command.

With that formating, I would expect to call it like this:
 dkms add module/0.123 /tmp/here/I/downloaded
But actually, you have to call
 dkms add /tmp/here/I/downloaded
And dkms will read the name and version from the dkms.conf.

I think the manpage should read:
 add [module/module-version | /path/to/source-tree | /path/to/tarball.tar]
instead.

Regards
Evgeni

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

Kernel: Linux 3.7-trunk-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.6
ii  coreutils          8.20-3
ii  dpkg-dev           1.16.10
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.1.0-1-amd64 [linux-headers]    3.1.8-2
ii  linux-headers-3.2.0-1-amd64 [linux-headers]    3.2.7-1
ii  linux-headers-3.2.0-2-amd64 [linux-headers]    3.2.20-1
ii  linux-headers-3.2.0-3-amd64 [linux-headers]    3.2.23-1
ii  linux-headers-3.2.0-4-amd64 [linux-headers]    3.2.41-2
ii  linux-headers-3.7-trunk-amd64 [linux-headers]  3.7.1-1~experimental.2
ii  linux-headers-amd64 [linux-headers]            3.2+46
ii  linux-image-3.1.0-1-amd64 [linux-image]        3.1.8-2
ii  linux-image-3.2.0-1-amd64 [linux-image]        3.2.7-1
ii  linux-image-3.2.0-2-amd64 [linux-image]        3.2.20-1
ii  linux-image-3.2.0-3-amd64 [linux-image]        3.2.23-1
ii  linux-image-3.2.0-4-amd64 [linux-image]        3.2.41-2
ii  linux-image-3.7-trunk-amd64 [linux-image]      3.7.1-1~experimental.1
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