]> git.openfabrics.org - ~tnikolova/ofed_scripts/.git/commitdiff
install tvflash-32bit on SLES10 SP3 ppc64
authorVladimir Sokolovsky <vlad@mellanox.co.il>
Sun, 1 Nov 2009 09:59:42 +0000 (11:59 +0200)
committerVladimir Sokolovsky <vlad@mellanox.co.il>
Sun, 1 Nov 2009 09:59:42 +0000 (11:59 +0200)
BUG: https://bugs.openfabrics.org/show_bug.cgi?id=1782

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
install.pl

index cf7bced0573567017e339e2d62a3ab27b48a1f6c..4ed471c621b8cc32203a274a701e3f77e96c6117 100755 (executable)
@@ -3000,6 +3000,14 @@ sub build_rpm
                     $fflags     = " -g -O2";
                     $ldlibs     = " -g -O2";
                 }
+                # SLES 10 SP3
+                if ($dist_rpm_rel ge 15.45.8) {
+                    if ($parent eq "tvflash") {
+                        build_rpm_32($name);
+                        $packages_info{$name}{'rpm_exist'} = 1;
+                        return;
+                    }
+                }
             }
             else {
                 if ($parent eq "sdpnetstat" or $parent eq "rds-tools" or $parent eq "rnfs-utils") {
@@ -3487,9 +3495,11 @@ sub install_rpm
         }
     }
 
-    if ($arch eq "ppc64" and $distro eq "redhat" and $name =~ m/tvflash/) {
-        install_rpm_32($name);
-        return;
+    if ($arch eq "ppc64" and $name =~ m/tvflash/) {
+        if ($distro eq "redhat" or ($distro eq "SuSE" and $dist_rpm_rel ge 15.45.8)) {
+            install_rpm_32($name);
+            return;
+        }
     }
 
     my $version = $main_packages{$packages_info{$name}{'parent'}}{'version'};