mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-21 17:11:45 +00:00
update bldipmi.pl and Build-notes for RHEL 7.1 ppc64le
Former-commit-id: fb8b4b9dcf1bac0522d6e29d0964c2b1be99eb79
This commit is contained in:
parent
8bf627c6e4
commit
6446653a0e
@ -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
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user