[Pkg-iscsi-maintainers] Bug#581200: iscsitarget-source applies kernel compatibility patches the wrong way
Markus Schuster
ml at markus.schuster.name
Tue May 11 14:26:48 UTC 2010
Source: iscsitarget
Version: 1.4.20.1-1
Hello,
I've "backported" iscsitarget to lenny (just used the Debian sources to
produce binary packages) and want to use lennys 2.6.26 kernel. In general
upstream iscsitarget works with this kernel just fine, but debian/rules for
iscsitarget-source does the following:
> kdist_config: prep-deb-files
> # ... additional kernel specific things to configure...
> test -f patches/compat-$(KERN_VER).patch && patch -p1 <
> patches/compat-$(KERN_VER).patch
The test && patch construct is not fully correct, as you have to apply ALL
compatibility patches between the desired target version and the version,
iscsitargt compiles with without patch.
For example to be able to produce a working kernel module for 2.6.26 you have
to apply the following patches:
compat-2.6.32.patch
compat-2.6.31.patch
compat-2.6.30.patch
compat-2.6.29.patch
compat-2.6.28.patch
compat-2.6.25-2.6.27.patch
So some sort of loop would be needed...
Regards,
Markus Schuster
More information about the Pkg-iscsi-maintainers
mailing list