[ewg] [PATCH ofed-1.2]: Warning the user that open-iscsi is installed (if iSER is selected)

Erez Zilber erezz at voltaire.com
Thu Mar 1 06:09:00 PST 2007


Vlad,

The following patch fixes the UI: when the user selects the packages to be installed, he will be notified that selecting ib_iser will also install open-iscsi.


--- build_env.sh.orig	2007-03-01 15:37:54.000000000 +0200
+++ build_env.sh	2007-03-01 15:52:22.000000000 +0200
@@ -1490,7 +1490,12 @@
                                                 do
                                                         pack_descr=$(eval echo \$\{${package}_descr\})
                                                         package_var=$(echo -n ${package} | sed -e 's/-/_/g')
-                                                        echo -n "Install ${package}: [y/N]:"
+
+                                                        if [ "${package}" == "ib_iser" ]; then
+                                                            echo -n "Install ${package} (open-iscsi will also be installed): [y/N]:"
+                                                        else
+                                                            echo -n "Install ${package}: [y/N]:"
+                                                        fi
 
                                                         if get_ans; then
                                                             if [ "$SELECTED_PACKAGES" == "" ]; then
-- 
____________________________________________________________

Erez Zilber   |  972-9-971-7689

Software Engineer, Storage Team

Voltaire – _The Grid Backbone_

 __

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

<mailto:erezz at voltaire.com>

  





More information about the ewg mailing list