Package: iscsitarget
Version: 1.4.20.3+svn502-1
Severity: normal
Tags: patch

Dear Maintainer,

installing "iscsitarget-dksm" in a chroot environment with a different
kernel fails, because the module is built for the currently curring
kernel (uname -r) instead of the kernel available in the chroot
environment.

dh_dkms seems to have some logic to build for all (or only for the
available kernsl). As the DebHelper is not used in debian/rules, it
fails.

Use dh_dkms to patch in the current version and to add the magic to
compile for the correct kernel version.
-- System Information:
Debian Release: 7.7
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-0.bpo.2-amd64 (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

Attachment: 0001-Bug-35875-DKMS-iscsitarget.patch
Description: /home/phahn/.magic

Reply via email to