Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f07bf6e894 | ||
|
22a39c034a | ||
|
e988bc9e10 | ||
|
4ccea0078f | ||
|
3fa17da6ed |
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,2 +1,7 @@
|
||||
ipmitool-1.8.11.tar.bz2
|
||||
/ipmitool-1.8.12.tar.bz2
|
||||
/exchange-bmc-os-info
|
||||
/exchange-bmc-os-info.service
|
||||
/exchange-bmc-os-info.sysconf
|
||||
/set-bmc-url.sh
|
||||
/ipmitool-1.8.12-activate-core.patch
|
||||
|
@ -1,13 +1,18 @@
|
||||
Name: ipmitool
|
||||
Summary: Utility for IPMI control
|
||||
Version: 1.8.12
|
||||
Release: 6%{?dist}
|
||||
Release: 9%{?dist}
|
||||
License: BSD
|
||||
Group: System Environment/Base
|
||||
URL: http://ipmitool.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
||||
Source1: openipmi-ipmievd.sysconf
|
||||
Source2: ipmievd.service
|
||||
Source3: exchange-bmc-os-info.service
|
||||
Source4: exchange-bmc-os-info.sysconf
|
||||
Source5: set-bmc-url.sh
|
||||
Source6: exchange-bmc-os-info
|
||||
|
||||
BuildRequires: openssl-devel readline-devel ncurses-devel
|
||||
BuildRequires: systemd-units
|
||||
Requires(post): systemd-sysv
|
||||
@ -27,6 +32,7 @@ Patch6: ipmitool-cvs-mc-sysinfo-dell.patch
|
||||
# https://sourceforge.net/tracker/?func=detail&aid=3578022&group_id=95200&atid=610550
|
||||
Patch7: ipmitool-1.8.12-bigendian2.patch
|
||||
Patch8: ipmitool-1.8.12-ciper-suite-default.patch
|
||||
Patch9: ipmitool-1.8.12-activate-core.patch
|
||||
|
||||
%description
|
||||
This package contains a utility for interfacing with devices that support
|
||||
@ -43,6 +49,24 @@ displaying sensor values, displaying the contents of the System Event
|
||||
Log (SEL), printing Field Replaceable Unit (FRU) information, reading and
|
||||
setting LAN configuration, and chassis power control.
|
||||
|
||||
|
||||
%package -n exchange-bmc-os-info
|
||||
Requires: hostname
|
||||
Requires: ipmitool OpenIPMI
|
||||
BuildArch: noarch
|
||||
Requires(post): systemd-sysv
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
|
||||
Summary: Let OS and BMC exchange info
|
||||
|
||||
%description -n exchange-bmc-os-info
|
||||
Given a host with BMC, this package would pass the hostname &
|
||||
OS information to the BMC and also capture the BMC ip info
|
||||
for the host OS to use.
|
||||
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q
|
||||
@ -54,6 +78,7 @@ setting LAN configuration, and chassis power control.
|
||||
%patch6 -p1 -b .mcsysinfodell
|
||||
%patch7 -p1 -b .bigendian2
|
||||
%patch8 -p1 -b .cip
|
||||
%patch9 -p1 -b .noactivate
|
||||
|
||||
for f in AUTHORS ChangeLog; do
|
||||
iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
|
||||
@ -71,8 +96,14 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
|
||||
install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/ipmievd.service
|
||||
install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
|
||||
install -Dm 644 %{SOURCE3} %{buildroot}%{_unitdir}/exchange-bmc-os-info.service
|
||||
install -Dm 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/exchange-bmc-os-info
|
||||
install -Dm 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/profile.d/set-bmc-url.sh
|
||||
install -Dm 755 %{SOURCE6} %{buildroot}%{_libexecdir}/exchange-bmc-os-info
|
||||
|
||||
|
||||
%post
|
||||
%systemd_post ipmievd.service
|
||||
@ -83,6 +114,17 @@ install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
|
||||
%postun
|
||||
%systemd_postun_with_restart ipmievd.service
|
||||
|
||||
|
||||
%post -n exchange-bmc-os-info
|
||||
%systemd_post exchange-bmc-os-info.service
|
||||
|
||||
%preun -n exchange-bmc-os-info
|
||||
%systemd_preun exchange-bmc-os-info.service
|
||||
|
||||
%postun -n exchange-bmc-os-info
|
||||
%systemd_postun_with_restart exchange-bmc-os-info.service
|
||||
|
||||
|
||||
%triggerun -- ipmievd < 1.8.11-7
|
||||
# Save the current service runlevel info
|
||||
# User must manually run systemd-sysv-convert --apply ipmievd
|
||||
@ -103,7 +145,28 @@ install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
|
||||
%{_datadir}/ipmitool
|
||||
|
||||
|
||||
%files -n exchange-bmc-os-info
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/exchange-bmc-os-info
|
||||
%{_sysconfdir}/profile.d/set-bmc-url.sh
|
||||
%{_unitdir}/exchange-bmc-os-info.service
|
||||
%{_libexecdir}/exchange-bmc-os-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Dec 17 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 1.8.12-9
|
||||
- Updated the exchange-bmc-os-info's service file with a Requires stmt
|
||||
|
||||
* Thu Dec 13 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 1.8.12-8
|
||||
- Subpackage for exchange-bmc-os-info as it requires OPenIPMI
|
||||
|
||||
* Fri Nov 30 2012 Praveen K Paladugu <praveen_paladugu@dell.com> -1.8.12-7
|
||||
- service & scripts to allow OS to capture BMC's IP & URL info
|
||||
- Also pass the OS information to BMC
|
||||
- patches submitted by Charles Rose (charles_rose[at]dell.com)
|
||||
|
||||
- failed sol session activation crashes while logging exit
|
||||
- Fix for #835542
|
||||
|
||||
* Fri Nov 16 2012 Ales Ledvinka <aledvink@redhat.com> 1.8.12-6
|
||||
- revert default cipersuite back to 3 which includes integrity and confidentiality
|
||||
|
||||
|
5
sources
5
sources
@ -1 +1,6 @@
|
||||
cfdfd15b6ee471c19a7a7e6b47233963 ipmitool-1.8.12.tar.bz2
|
||||
95bd2072031533893cd9d5d9c9603d92 exchange-bmc-os-info
|
||||
6598ee7c4ba2c8f69ef2ad48e502cada exchange-bmc-os-info.service
|
||||
3a728964cb3990f3fd6febef36b4e8af exchange-bmc-os-info.sysconf
|
||||
b8943d4efa72aa65e2409194f8d30bdb set-bmc-url.sh
|
||||
f07f9d272606853b2574f394a98e7c5b ipmitool-1.8.12-activate-core.patch
|
||||
|
Loading…
Reference in New Issue
Block a user