Package: open-vm-dkms
Version: 2:8.8.0+2011.10.26-514583-1
Severity: normal

Hi,

it looks like open-vm-pkms is missing a call:
        dkms add -m open-vm-tools -v <open-vm-tool's current version>
in the postinst and the corresponding:
        dkms remove ...
on thre prerm step.

This leads to dkms not being aware of open-vm-tools and thus not building the
modules.

I first tried to call the various parts of the kernel-headers postinst related
to dkms, then called dkms directly, ... nothing worked.
I.e. although no error messages were printed, the modules weren't built either.

Googling around for dkms a bit I found that dkms needs to 'know' the packages.
After I made dkms manually aware of open-vm-tools by calling 'dkms add ...'
the kernel-header postinst did its job, the modules were built and I was able
to e.g. mount the host's file system .

Maybe calling 'dkms add ...' manually is not the ideal way to do it.
It looks like dkms supports debhelper with a script named 'dh_dkms',
and with v8+ dh seems to know an option '--with dkms' (I found that one
by looking at the debian.tar.gz files of other ...-dkms packages in the
archive [e.g. xtables-addons_1.40-1.debian.tar.gz])

Thanks for maintaining open-vm-tools in Debian
Peter


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages open-vm-dkms depends on:
ii  dkms  2.2.0.3-1
ii  make  3.81-8.1

Versions of packages open-vm-dkms recommends:
ii  open-vm-tools  2:8.8.0+2011.10.26-514583-1+b1

Versions of packages open-vm-dkms suggests:
ii  open-vm-toolbox  2:8.8.0+2011.10.26-514583-1+b1

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to