mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-23 01:51:54 +00:00
fix for 4312: build xcat-dep packages for SLES 12 x86_64
Former-commit-id: dc03d6519b6646ab2ae432f8008ed1c8a6a11b4d
This commit is contained in:
parent
58635282dd
commit
29e0633b7e
@ -14,6 +14,8 @@ if (grep /Red Hat Enterprise Linux Server release 5\.\d/, @output) {
|
||||
$os = "sles10";
|
||||
} elsif (grep /SUSE Linux Enterprise Server 11/, @output) {
|
||||
$os = "sles11";
|
||||
} elsif (grep /SUSE Linux Enterprise Server 12/, @output) {
|
||||
$os = "sles12";
|
||||
} elsif (grep /Fedora release/, @output) {
|
||||
$os = "fedora";
|
||||
} else {
|
||||
|
4
ipmitool/Build-notes
Normal file → Executable file
4
ipmitool/Build-notes
Normal file → Executable file
@ -1,5 +1,9 @@
|
||||
Build Notes
|
||||
|
||||
Option #1 Run the script bldipmi.pl
|
||||
|
||||
Option #2 Use the manual steps listed below:
|
||||
|
||||
1) Download ipmitool-1.8.11.tar.gz from https://xcat.svn.sourceforge.net/svnroot/xcat/xcat-dep/trunk/ipmitool/ipmitool-1.8.11.tar.gz to /tmp/ipmitool directory.
|
||||
2) cd /tmp/ipmitool
|
||||
3) gunzip ipmitool-1.8.11.tar.gz
|
||||
|
@ -12,6 +12,8 @@ if (grep /Red Hat Enterprise Linux Server release 5\.\d/, @output) {
|
||||
$os = "sles10";
|
||||
} elsif (grep /SUSE Linux Enterprise Server 11/, @output) {
|
||||
$os = "sles11";
|
||||
} elsif (grep /SUSE Linux Enterprise Server 12/, @output) {
|
||||
$os = "sles12";
|
||||
} else {
|
||||
print "unknow os\n";
|
||||
exit 1;
|
||||
|
7
stunnel/Build-notes
Normal file → Executable file
7
stunnel/Build-notes
Normal file → Executable file
@ -2,12 +2,13 @@ Build Notes
|
||||
|
||||
1) Copy stunnel.spec to /usr/src/packages/SPECS
|
||||
2) Copy stunnel-4.26.tar.gz to /usr/src/packages/SOURCES
|
||||
3) RUN "rpmbuild -ba /usr/src/packages/SPECS/stunnel.spec"
|
||||
4) You will get the binary rpm package stunnel-4.26-1.<arch>.rpm in the directory /usr/src/packages/
|
||||
3) Copy initscript.patch to /usr/src/packages/SOURCES
|
||||
4) RUN "rpmbuild -ba /usr/src/packages/SPECS/stunnel.spec"
|
||||
5) You will get the binary rpm package stunnel-4.26-1.<arch>.rpm in the directory /usr/src/packages/
|
||||
|
||||
NOTE #1:
|
||||
This is only neccessary for SLES11 or higher version. stunnel is shipped with RHEL and SLES10.x.
|
||||
NOTE #2:
|
||||
It requires openssl-devel package to build this package. For SLES11, libopenssl-devel and its related packages can be found in SLES-11-SDK DVDs or repositories.
|
||||
It requires libopenssl-devel package to build this package. For SLES11, libopenssl-devel and its related packages can be found in SLES-11-SDK DVDs or repositories.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user