kmod iscsitarget patch to build for kernel 2.6.32

Sophana K sophana78 at gmail.com
Mon Jun 28 23:30:31 CEST 2010


Hi

kmod-iscsitarget does not compile anymore on kernel 2.6.32
log is here:
http://buildsys.rpmfusion.org/logs/fedora-12-rpmfusion_free/7038-iscsitarget-kmod-1.4.18-1.fc12.25/ppc/build.log

A patch must be applied. Here it is from gentoo:
http://ftp.eenet.ee/gentoo-portage/sys-block/iscsitarget/files/iscsitarget-1.4.18%2Blinux-2.6.32.patch

I added this patch in the SOURCES files, and patched the spec file. It
now compiles.

 Source0:        http://dl.sf.net/iscsitarget/iscsitarget-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:         iscsitarget-1.4.18-kernel-2.6.32.patch


....

 # go
 %setup -q -c -T -a 0
 pushd iscsitarget-%{version}
+%patch0  -p1
 popd


Can someone please upload this?
Thanks


More information about the rpmfusion-developers mailing list