diff --git a/ipmitool/Build-notes b/ipmitool/Build-notes index 9add77d..86791c6 100755 --- a/ipmitool/Build-notes +++ b/ipmitool/Build-notes @@ -31,3 +31,7 @@ NOTE #2 ENABLE THE SSL Before running the build operation, the openssl-devel should be installed on the build env to make sure the ssl can be enabled for the generated ipmitool package. You can run the 'ldd ipmitool' to see whether the 'libcrypto.so.x' has been added as a dependency to check whether the ssl has been enabled. + + +Note #3 +On RHEL 7.1 ppc64le, probably because of the beta version of toolchain, needs to add "--build=powerpc64le-redhat-linux-gnu" with the ./configure in ipmitool.spec diff --git a/ipmitool/bldipmi.pl b/ipmitool/bldipmi.pl index b35b7f7..6315180 100755 --- a/ipmitool/bldipmi.pl +++ b/ipmitool/bldipmi.pl @@ -8,6 +8,8 @@ if (grep /Red Hat Enterprise Linux Server release 5\.\d/, @output) { $os = "rh5"; } elsif (grep /Red Hat Enterprise Linux Server release 6\.\d/, @output) { $os = "rh6"; +} elsif (grep /Red Hat Enterprise Linux Server release 7\.\d/, @output) { + $os = "rh7"; } elsif (grep /SUSE Linux Enterprise Server 10/, @output) { $os = "sles10"; } elsif (grep /SUSE Linux Enterprise Server 11/, @output) { @@ -48,7 +50,7 @@ if ( (! -f "$pwd/ipmitool-1.8.11.tar.gz") my $blddir; if ($os eq "rh5") { $blddir = "/usr/src/redhat"; -} elsif ($os eq "rh6") { +} elsif (($os eq "rh6") || ($os eq "rh7")) { $blddir = "/root/rpmbuild"; } elsif ($os =~ /sles1\d/) { $blddir = "/usr/src/packages";