]> git.openfabrics.org - ~tnikolova/ofed_scripts/.git/commitdiff
Set rnfs-utils build requirements on SLES10x vofed-1.5-rc2
authorVladimir Sokolovsky <vlad@mellanox.co.il>
Tue, 3 Nov 2009 15:45:20 +0000 (17:45 +0200)
committerVladimir Sokolovsky <vlad@mellanox.co.il>
Tue, 3 Nov 2009 15:45:20 +0000 (17:45 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
install.pl

index 4ed471c621b8cc32203a274a701e3f77e96c6117..d0f4cf2c445d6552710ae16ac5c73301eca29e0c 100755 (executable)
@@ -162,6 +162,8 @@ if ($dist_rpm =~ /openSUSE/) {
     $subdistro = "openSUSE";
 } elsif ($dist_rpm =~ /sles-release-11/) {
     $subdistro = "SLES11";
+} elsif ($dist_rpm =~ /sles-release-10/) {
+    $subdistro = "SLES10";
 }
 
 my $WDIR    = dirname($0);
@@ -2673,6 +2675,15 @@ sub check_linux_dependencies
                             print RED "libopenssl-devel is required to build rnfs-utils.", RESET "\n";
                             $err++;
                         }
+                    } elsif ($subdistro eq "SLES10") {
+                        if (not is_installed("libevent")) {
+                            print RED "libevent is required to build rnfs-utils.", RESET "\n";
+                            $err++;
+                        }
+                        if (not is_installed("nfsidmap")) {
+                            print RED "nfsidmap is required to build rnfs-utils.", RESET "\n";
+                            $err++;
+                        }
                     }
                     if (not is_installed("krb5")) {
                         print RED "krb5 is required to build rnfs-utils.", RESET "\n";