Whamcloud - gitweb
LU-1479 build: enable srp initiator module with lbuild
authorShuichi Ihara <sihara@ddn.com>
Wed, 6 Jun 2012 15:08:20 +0000 (00:08 +0900)
committerOleg Drokin <green@whamcloud.com>
Fri, 29 Jun 2012 03:23:33 +0000 (23:23 -0400)
kernel-ib doesn't include ib_srp module if RPMs built by lbuild.
It's required for Infiniband based storage.

Signed-off-by: Shuichi Ihara <sihara@ddn.com>
Change-Id: I16e940592f93abc9150f391316b8f55eb60c663a
Reviewed-on: http://review.whamcloud.com/3049
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
build/lbuild

index 52125b5..4869509 100755 (executable)
@@ -1063,8 +1063,9 @@ build_kernel_ib() {
             OFED_HARDWARE="$OFED_HARDWARE --with-ehca-mod"
             ;;
     esac
             OFED_HARDWARE="$OFED_HARDWARE --with-ehca-mod"
             ;;
     esac
-    # we're no longer shipping the OFED iSCSI
+    # we're no longer shipping the OFED iSCSI target
     #OFED_ISCSI="--with-srp-mod --with-srp-target-mod"
     #OFED_ISCSI="--with-srp-mod --with-srp-target-mod"
+    OFED_ISCSI="--with-srp-mod"
     ## ISER module has no backport support as of OFED 1.5 (i.e. only builds on
     ##kernels >= 2.6.30)
     #if [[ $OFED_VERSION = 1.[0-4]* ]]; then
     ## ISER module has no backport support as of OFED 1.5 (i.e. only builds on
     ##kernels >= 2.6.30)
     #if [[ $OFED_VERSION = 1.[0-4]* ]]; then