[Pkg-iscsi-maintainers] Bug#766989: iscsitarget: FTBFS in chroot: builds for current kernel instead of kernel in chroot

Philipp Hahn hahn at univention.de
Mon Oct 27 12:43:08 UTC 2014


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Bug-35875-DKMS-iscsitarget.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20141027/ec4a1e38/attachment.ksh>


More information about the Pkg-iscsi-maintainers mailing list