]> git.openfabrics.org - ~vlad/ofed_scripts.git/commitdiff
ofed_1_3/ofed_scripts: This will allow the users to add lines to ofed.conf
authorMoni Shoua <monisonlists@gmail.com>
Tue, 8 Jan 2008 07:28:24 +0000 (09:28 +0200)
committerVladimir Sokolovsky <vlad@mellanox.co.il>
Tue, 8 Jan 2008 09:19:54 +0000 (11:19 +0200)
which will not be parsed by install.pl and can be used by the vendor scripts.
Such line should start with the string: "vendor_config"

Signed-off-by: Moni Shoua <monis@voltaire.com>
install.pl

index 915530ecae62d324fbd3daa23aafc6d2808290c9..c1432f35b3e1a0ac006478743ea74d6a150e853e 100755 (executable)
@@ -2049,6 +2049,11 @@ sub select_packages
                     next;
                 }
 
+
+               if (substr($package,0,length("vendor_config")) eq "vendor_config") {
+                      next;
+               }
+
                 if ($package eq "vendor_pre_install") {
                    if ( -f $selected ) {
                        $vendor_pre_install = dirname($selected) . '/' . basename($selected);