[openfabrics-ewg] [PATCH ofed-1.2 alpha rel] IB/iSER: add iSER support for RHEL5 in build script

Erez Zilber erezz at voltaire.com
Wed Feb 7 02:14:57 PST 2007


Vlad,

This patch allows iSER installation also on RHEL5. I think that the 2.6.*.el5 pattern should be ok for RHEL5.

--- build_env.sh.orig	2007-02-07 12:08:51.000000000 +0200
+++ build_env.sh	2007-02-07 12:04:19.000000000 +0200
@@ -141,8 +141,8 @@
 IB_KERNEL_PACKAGES="$BASIC_IB_KERNEL_PACKAGES $KERNEL_TECHNOLOGY_PREVIEW ib_sdp ib_srp" #ib_rds 
 
 case ${K_VER} in
-    2.6.16.*-*-*)
-    # Currently iSER is supported only on SLES10
+    2.6.16.*-*-*|2.6.*.el5)
+    # Currently iSER is supported only on SLES10 & RHEL5
     IB_KERNEL_PACKAGES="$IB_KERNEL_PACKAGES ib_iser"
     ;;
     2.6.5-7.*)
@@ -1603,10 +1603,9 @@
                             OFA_PACKAGES=$(echo "$OFA_PACKAGES kernel-ib" | tr -s ' ' '\n' | sort -n | uniq)
                     ;;
                     ib_iser)
-                        # Currently iSER is supported only on SLES10 RC1
-                        # 2.6.[1-9][6-9]*)
+			# Currently iSER is supported only on SLES10 & RHEL5
                         case ${K_VER} in
-                        2.6.16.*-*-*)
+                        2.6.16.*-*-*|2.6.*.el5)
                             OFA_KERNEL_PACKAGES=$(echo "$OFA_KERNEL_PACKAGES ib_verbs ${ll_driver} ib_iser" | tr -s ' ' '\n' | sort -n | uniq)
                             OFA_PACKAGES=$(echo "$OFA_PACKAGES kernel-ib" | tr -s ' ' '\n' | sort -n | uniq)
                         ;;
-- 
____________________________________________________________

Erez Zilber   |  972-9-971-7689

Software Engineer, Storage Team

Voltaire – _The Grid Backbone_

 __

 www.voltaire.com <http://www.voltaire.com/>

<mailto:g at voltaire.com>

  






More information about the ewg mailing list