Compare commits

...

5 Commits
master ... f18

Author SHA1 Message Date
praveenp f07bf6e894 Bumped up the revision in the spec file 2012-12-17 10:35:21 -06:00
praveenp 22a39c034a Added Requires stmt to exchange-bmc-os-info's service file. 2012-12-17 10:30:56 -06:00
praveenp e988bc9e10 Created a subpackage for exchange-bmc-os-info 2012-12-13 15:19:35 -06:00
praveenp 4ccea0078f uploading the changes to the spec file as well 2012-11-30 13:06:15 -06:00
praveenp 3fa17da6ed script & service files to exchange info between BMC and OS.
Also a fix for #835542
2012-11-30 13:03:07 -06:00
3 changed files with 74 additions and 1 deletions

5
.gitignore vendored
View File

@ -1,2 +1,7 @@
ipmitool-1.8.11.tar.bz2 ipmitool-1.8.11.tar.bz2
/ipmitool-1.8.12.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

View File

@ -1,13 +1,18 @@
Name: ipmitool Name: ipmitool
Summary: Utility for IPMI control Summary: Utility for IPMI control
Version: 1.8.12 Version: 1.8.12
Release: 6%{?dist} Release: 9%{?dist}
License: BSD License: BSD
Group: System Environment/Base Group: System Environment/Base
URL: http://ipmitool.sourceforge.net/ URL: http://ipmitool.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Source1: openipmi-ipmievd.sysconf Source1: openipmi-ipmievd.sysconf
Source2: ipmievd.service 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: openssl-devel readline-devel ncurses-devel
BuildRequires: systemd-units BuildRequires: systemd-units
Requires(post): systemd-sysv 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 # https://sourceforge.net/tracker/?func=detail&aid=3578022&group_id=95200&atid=610550
Patch7: ipmitool-1.8.12-bigendian2.patch Patch7: ipmitool-1.8.12-bigendian2.patch
Patch8: ipmitool-1.8.12-ciper-suite-default.patch Patch8: ipmitool-1.8.12-ciper-suite-default.patch
Patch9: ipmitool-1.8.12-activate-core.patch
%description %description
This package contains a utility for interfacing with devices that support 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 Log (SEL), printing Field Replaceable Unit (FRU) information, reading and
setting LAN configuration, and chassis power control. 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 %prep
%setup -q %setup -q
@ -54,6 +78,7 @@ setting LAN configuration, and chassis power control.
%patch6 -p1 -b .mcsysinfodell %patch6 -p1 -b .mcsysinfodell
%patch7 -p1 -b .bigendian2 %patch7 -p1 -b .bigendian2
%patch8 -p1 -b .cip %patch8 -p1 -b .cip
%patch9 -p1 -b .noactivate
for f in AUTHORS ChangeLog; do for f in AUTHORS ChangeLog; do
iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8 iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
@ -71,8 +96,14 @@ make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/ipmievd.service install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/ipmievd.service
install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd 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 %post
%systemd_post ipmievd.service %systemd_post ipmievd.service
@ -83,6 +114,17 @@ install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
%postun %postun
%systemd_postun_with_restart ipmievd.service %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 %triggerun -- ipmievd < 1.8.11-7
# Save the current service runlevel info # Save the current service runlevel info
# User must manually run systemd-sysv-convert --apply ipmievd # User must manually run systemd-sysv-convert --apply ipmievd
@ -103,7 +145,28 @@ install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
%{_datadir}/ipmitool %{_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 %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 * Fri Nov 16 2012 Ales Ledvinka <aledvink@redhat.com> 1.8.12-6
- revert default cipersuite back to 3 which includes integrity and confidentiality - revert default cipersuite back to 3 which includes integrity and confidentiality

View File

@ -1 +1,6 @@
cfdfd15b6ee471c19a7a7e6b47233963 ipmitool-1.8.12.tar.bz2 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