[ewg] [PATCH] ofed_1_3/ofed_scripts: Add vendor script pre/post hooks for OFED install/uninstall

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Tue Jan 8 01:20:47 PST 2008


Moni Shoua wrote:
> Thanks. Please apply the following addition to the patch.
>
> This will allow the users to add lines to ofed.conf 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"
>
>
> diff --git a/install.pl b/install.pl
> index 915530e..c1432f3 100755
> --- a/install.pl
> +++ b/install.pl
> @@ -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);
>
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>   
Applied,

Regards,
Vladimir



More information about the ewg mailing list