kexec-tools/kexec-tools.spec

777 lines
27 KiB
RPMSpec
Raw Normal View History

Name: kexec-tools
2011-06-24 19:14:23 +00:00
Version: 2.0.2
2011-07-21 13:04:09 +00:00
Release: 5%{?dist}
2008-08-05 17:12:18 +00:00
License: GPLv2
Group: Applications/System
Summary: The kexec/kdump userspace component.
Source0: http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/%{name}-%{version}.tar.bz2
2011-07-06 19:25:34 +00:00
Source1: kdumpctl
Source2: kdump.sysconfig
2006-12-15 21:05:01 +00:00
Source3: kdump.sysconfig.x86_64
Source4: kdump.sysconfig.i386
Source5: kdump.sysconfig.ppc64
Source6: kdump.sysconfig.ia64
Source7: mkdumprd
Source8: kdump.conf
Source9: http://downloads.sourceforge.net/project/makedumpfile/makedumpfile/1.3.5/makedumpfile-1.3.5.tar.gz
2006-12-15 21:05:01 +00:00
Source10: kexec-kdump-howto.txt
Source11: firstboot_kdump.py
2007-02-09 21:09:34 +00:00
Source12: mkdumprd.8
2007-07-09 18:55:53 +00:00
Source13: kexec-tools-po.tar.gz
2008-06-05 15:18:53 +00:00
Source14: 98-kexec.rules
2010-02-17 16:41:55 +00:00
Source15: kdump.conf.5
Source16: kdump.service
#######################################
# These are sources for mkdumprd2
# Which is currently in development
#######################################
Source100: dracut-files.tbz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2008-01-03 18:33:56 +00:00
Requires(pre): coreutils chkconfig sed zlib
2009-08-11 20:07:23 +00:00
Requires: busybox >= 1.2.0, dracut
2009-07-06 18:00:03 +00:00
BuildRequires: dash
2008-01-03 21:42:01 +00:00
BuildRequires: zlib-devel zlib zlib-static elfutils-devel-static glib2-devel
2008-01-03 17:07:35 +00:00
BuildRequires: pkgconfig intltool gettext
2007-04-10 18:09:16 +00:00
%ifarch %{ix86} x86_64 ppc64 ia64 ppc
2006-12-15 21:05:01 +00:00
Obsoletes: diskdumputils netdump
%endif
2008-06-05 15:18:53 +00:00
#START INSERT
#
# Patches 0 through 100 are meant for x86 kexec-tools enablement
#
#
# Patches 101 through 200 are meant for x86_64 kexec-tools enablement
#
#
# Patches 201 through 300 are meant for ia64 kexec-tools enablement
#
#
# Patches 301 through 400 are meant for ppc64 kexec-tools enablement
#
2008-06-05 15:18:53 +00:00
2006-07-05 20:08:23 +00:00
#
# Patches 401 through 500 are meant for s390 kexec-tools enablement
#
2006-07-05 20:25:11 +00:00
#
# Patches 501 through 600 are meant for ppc kexec-tools enablement
#
#
# Patches 601 onward are generic patches
#
2009-05-08 17:11:21 +00:00
Patch601: kexec-tools-2.0.0-disable-kexec-test.patch
2009-07-06 19:58:59 +00:00
Patch602: kexec-tools-2.0.0-makedumpfile-dynamic-build.patch
Patch603: kexec-tools-2.0.0-makedumpfile-2.6.32-utsname.patch
Patch604: kexec-tools-2.0.0-makedumpfile-boption.patch
Patch605: kexec-tools-2.0.0-makedumpfile-2.6.32-sparsemem.patch
2011-06-24 19:14:23 +00:00
Patch606: kexec-tools-2.0.2-purgatory-makefile.patch
%description
kexec-tools provides /sbin/kexec binary that facilitates a new
kernel to boot using the kernel's kexec feature either on a
normal or a panic reboot. This package contains the /sbin/kexec
binary and ancillary utilities that together form the userspace
component of the kernel's kexec feature.
%prep
%setup -q
2006-07-20 03:36:18 +00:00
mkdir -p -m755 kcp
2006-12-15 21:05:01 +00:00
tar -z -x -v -f %{SOURCE9}
2006-08-02 19:25:03 +00:00
2009-05-08 17:11:21 +00:00
%patch601 -p1
2009-07-06 19:58:59 +00:00
%patch602 -p1
%patch603 -p1
%patch604 -p1
%patch605 -p1
2011-03-10 16:42:25 +00:00
%patch606 -p1
tar -z -x -v -f %{SOURCE13}
%ifarch ppc
2008-06-05 15:18:53 +00:00
%define archdef ARCH=ppc
%endif
2007-04-10 18:09:16 +00:00
%build
2008-06-05 15:18:53 +00:00
%ifarch ia64
# ia64 gcc seems to have a problem adding -fexception -fstack-protect and
# -param ssp-protect-size, like the %configure macro does
# while that shouldn't be a problem, and it still builds fine, it results in
# the kdump kernel hanging on kexec boot. I don't yet know why, but since those
# options aren't critical, I'm just overrideing them here for ia64
export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2"
%endif
%configure \
%ifarch ppc64
--host=powerpc64-redhat-linux-gnu \
--build=powerpc64-redhat-linux-gnu \
%endif
--sbindir=/sbin
rm -f kexec-tools.spec.in
2009-07-06 18:00:03 +00:00
# setup the docs
2006-12-15 21:05:01 +00:00
cp %{SOURCE10} .
2009-07-06 18:00:03 +00:00
2008-06-05 15:18:53 +00:00
make
%ifarch %{ix86} x86_64 ia64 ppc64
make -C makedumpfile-1.3.5
%endif
2007-07-09 18:55:53 +00:00
make -C kexec-tools-po
%install
rm -rf $RPM_BUILD_ROOT
2008-06-05 15:18:53 +00:00
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
mkdir -p -m755 $RPM_BUILD_ROOT%{_localstatedir}/crash
mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/man8/
2010-02-17 16:49:26 +00:00
mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/man5/
2006-12-15 21:05:01 +00:00
mkdir -p -m755 $RPM_BUILD_ROOT%{_docdir}
mkdir -p -m755 $RPM_BUILD_ROOT%{_datadir}/kdump
2008-06-05 15:18:53 +00:00
mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/
2011-07-06 19:25:34 +00:00
mkdir -p -m755 $RPM_BUILD_ROOT%{_bindir}
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/kdumpctl
SYSCONFIG=$RPM_SOURCE_DIR/kdump.sysconfig.%{_target_cpu}
[ -f $SYSCONFIG ] || SYSCONFIG=$RPM_SOURCE_DIR/kdump.sysconfig.%{_arch}
[ -f $SYSCONFIG ] || SYSCONFIG=$RPM_SOURCE_DIR/kdump.sysconfig
install -m 644 $SYSCONFIG $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/kdump
2006-12-15 21:05:01 +00:00
install -m 755 %{SOURCE7} $RPM_BUILD_ROOT/sbin/mkdumprd
2007-02-12 18:49:03 +00:00
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/kdump.conf
install -m 644 kexec/kexec.8 $RPM_BUILD_ROOT%{_mandir}/man8/kexec.8
2006-12-15 21:05:01 +00:00
install -m 755 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/kdump/firstboot_kdump.py
2007-02-09 21:09:34 +00:00
install -m 644 %{SOURCE12} $RPM_BUILD_ROOT%{_mandir}/man8/mkdumprd.8
2008-06-05 15:18:53 +00:00
install -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/98-kexec.rules
2010-02-17 16:41:55 +00:00
install -m 644 %{SOURCE15} $RPM_BUILD_ROOT%{_mandir}/man5/kdump.conf.5
install -m 644 %{SOURCE16} $RPM_BUILD_ROOT/lib/systemd/system/kdump.service
2008-06-05 15:18:53 +00:00
%ifarch %{ix86} x86_64 ia64 ppc64
install -m 755 makedumpfile-1.3.5/makedumpfile $RPM_BUILD_ROOT/sbin/makedumpfile
install -m 644 makedumpfile-1.3.5/makedumpfile.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/makedumpfile.8.gz
%endif
2007-07-09 18:55:53 +00:00
make -C kexec-tools-po install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
2007-02-22 22:00:39 +00:00
# untar the dracut package
2009-05-20 18:55:21 +00:00
mkdir -p -m755 $RPM_BUILD_ROOT/etc/kdump-adv-conf
tar -C $RPM_BUILD_ROOT/etc/kdump-adv-conf -jxvf %{SOURCE100}
2009-09-15 17:05:01 +00:00
chmod 755 $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/99kdumpbase/check
chmod 755 $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/99kdumpbase/install
2011-07-21 10:48:58 +00:00
chmod 755 $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/99kdumpbase/kdump_localfs.sh
2009-09-15 17:05:01 +00:00
#and move the custom dracut modules to the dracut directory
mkdir -p $RPM_BUILD_ROOT/usr/share/dracut/modules.d/
mv $RPM_BUILD_ROOT/etc/kdump-adv-conf/kdump_dracut_modules/* $RPM_BUILD_ROOT/usr/share/dracut/modules.d/
2009-05-20 18:55:21 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%post
2006-07-20 03:36:18 +00:00
touch /etc/kdump.conf
/sbin/chkconfig --add kdump
2008-06-05 15:18:53 +00:00
# This portion of the script is temporary. Its only here
# to fix up broken boxes that require special settings
# in /etc/sysconfig/kdump. It will be removed when
# These systems are fixed.
2006-12-15 21:05:01 +00:00
if [ -d /proc/bus/mckinley ]
then
2008-06-05 15:18:53 +00:00
# This is for HP zx1 machines
# They require machvec=dig on the kernel command line
2006-12-15 21:05:01 +00:00
sed -e's/\(^KDUMP_COMMANDLINE_APPEND.*\)\("$\)/\1 machvec=dig"/' \
/etc/sysconfig/kdump > /etc/sysconfig/kdump.new
mv /etc/sysconfig/kdump.new /etc/sysconfig/kdump
2008-06-05 15:18:53 +00:00
elif [ -d /proc/sgi_sn ]
then
# This is for SGI SN boxes
# They require the --noio option to kexec
# since they don't support legacy io
sed -e's/\(^KEXEC_ARGS.*\)\("$\)/\1 --noio"/' \
/etc/sysconfig/kdump > /etc/sysconfig/kdump.new
mv /etc/sysconfig/kdump.new /etc/sysconfig/kdump
2006-12-15 21:05:01 +00:00
fi
%postun
if [ "$1" -ge 1 ]; then
2011-07-06 19:25:34 +00:00
systemctl try-restart kdump.service &> /dev/null || :
fi
%preun
if [ "$1" = 0 ]; then
2011-07-06 19:25:34 +00:00
systemctl disable kdump.service &> /dev/null || :
fi
exit 0
2006-12-15 21:05:01 +00:00
%triggerin -- firstboot
2008-06-05 15:18:53 +00:00
# we enable kdump everywhere except for paravirtualized xen domains; check here
if [ -f /proc/xen/capabilities ]; then
if [ -z `grep control_d /proc/xen/capabilities` ]; then
exit 0
fi
fi
2006-12-15 21:05:01 +00:00
if [ ! -e %{_datadir}/firstboot/modules/firstboot_kdump.py ]
then
ln -s %{_datadir}/kdump/firstboot_kdump.py %{_datadir}/firstboot/modules/firstboot_kdump.py
fi
2008-06-05 15:18:53 +00:00
%triggerin -- kernel-kdump
touch %{_sysconfdir}/kdump.conf
2006-12-15 21:05:01 +00:00
%triggerun -- firstboot
rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py
2008-06-05 15:18:53 +00:00
%triggerpostun -- kernel kernel-xen kernel-debug kernel-PAE kernel-kdump
2007-08-30 16:19:16 +00:00
# List out the initrds here, strip out version nubmers
# and search for corresponding kernel installs, if a kernel
# is not found, remove the corresponding kdump initrd
#start by getting a list of all the kdump initrds
2008-06-05 15:18:53 +00:00
MY_ARCH=`uname -m`
if [ "$MY_ARCH" == "ia64" ]
then
IMGDIR=/boot/efi/efi/redhat
else
IMGDIR=/boot
fi
for i in `ls $IMGDIR/initrd*kdump.img 2>/dev/null`
2007-08-30 16:19:16 +00:00
do
2008-06-05 15:18:53 +00:00
KDVER=`echo $i | sed -e's/^.*initrd-//' -e's/kdump.*$//'`
if [ ! -e $IMGDIR/vmlinuz-$KDVER ]
2007-08-30 16:19:16 +00:00
then
# We have found an initrd with no corresponding kernel
# so we should be able to remove it
rm -f $i
fi
done
2007-02-22 22:00:39 +00:00
%files -f %{name}.lang
%defattr(-,root,root,-)
/sbin/*
2011-07-06 19:25:34 +00:00
%{_bindir}/*
2006-12-15 21:05:01 +00:00
%{_datadir}/kdump
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump
%config(noreplace,missingok) %{_sysconfdir}/kdump.conf
2008-06-05 15:18:53 +00:00
%config %{_sysconfdir}/udev/rules.d/*
%{_datadir}/dracut/modules.d/*
%dir %{_localstatedir}/crash
2007-02-09 21:09:34 +00:00
%{_mandir}/man8/*
2010-02-17 16:41:55 +00:00
%{_mandir}/man5/*
/lib/systemd/system/*
%doc News
%doc COPYING
%doc TODO
2006-09-19 19:43:34 +00:00
%doc kexec-kdump-howto.txt
2008-06-05 15:18:53 +00:00
%changelog
2011-07-21 13:04:09 +00:00
* Thu Jul 21 2011 Cong Wang <xiyou.wangcong@gmail.com> - 2.0.2-5
- Bypass '-d' option.
2011-07-21 10:48:58 +00:00
* Thu Jul 21 2011 Cong Wang <xiyou.wangcong@gmail.com> - 2.0.2-4
- Update initramfs infrastructure to make it working
with dracut.
2011-07-06 19:25:34 +00:00
* Wed Jul 06 2011 Neil Horman <nhorman@redhat.com> - 2.0.2-3
- Removed sysv init script from package
* Mon Jul 04 2011 Neil Horman <nhorman@redhat.com> - 2.0.2-2
- Added systemd unit file (bz 716994)
2011-06-24 19:14:23 +00:00
* Fri Jun 24 2011 Neil Horman <nhorman@redhat.com> - 2.0.2-1
- Updated to upstream version 2.0.2
2011-06-06 19:43:54 +00:00
* Mon Jun 02 2011 Neil Horman <nhorman@redhat.com> - 2.0.0-47
- Fixed misuse of readlink command after directory change (bz 710744)
* Tue Apr 26 2011 Neil Horman <nhorman@redhat.com> - 2.0.0-46
- Fix some grammer in man page (bz 673817)
* Mon Mar 28 2011 Neil Horman <nhorman@redhat.com> - 2.0.0-45
- Fix misuse of basename in mkdumprd (bz 683769)
2011-03-10 16:42:25 +00:00
* Thu Mar 10 2011 Neil Horman <nhorman@redhat.com> - 2.0.0-44
- Fix build break in purgatory makefile
* Thu Mar 10 2011 Neil Horman <nhorman@redhat.com> - 2.0.0-43
- Remove vestigual emitdms code and call from mkdumprd
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-10-22 10:58:01 +00:00
* Fri Oct 22 2010 Neil Horman <nhorman@redhat.com> - 2.0.0-41
- Fixed dhcp retry mechanism (bz 645734)
2010-09-29 21:34:26 +00:00
* Wed Sep 29 2010 jkeating - 2.0.0-40
- Rebuilt for gcc bug 634757
2010-09-22 11:03:43 +00:00
* Wed Sep 22 2010 Neil Horman <nhorman@redhat.com> - 2.0.0-39
- fix finding modalias/mkdumprd hang (bz 635893)
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 2.0.0-38
- recompiling .py files against Python 2.7 (rhbz#623327)
* Sun Jun 13 2010 Lubomir Rintel <lkundrak@v3.sk> - 2.0.0-37
- Fix a syntax error in kdump init script
* Sun Jun 13 2010 Lubomir Rintel <lkundrak@v3.sk> - 2.0.0-36
- Cosmetic mkdumprd fixes (drop an unused function, streamline another)
* Sat May 29 2010 CAI Qian <caiqian@redhat.com> - 2.0.0-35
- Forward-port from F13
- Fixed kernel text area search in kcore (bz 587750)
* Sat May 29 2010 CAI Qian <caiqian@redhat.com> - 2.0.0-34
- Massive forward-port from RHEL6
- Update kexec-kdump-howto.txt
- Update docs to reflect use of ext4
- Update mkdumprd to pull in all modules needed
- Fix mkdumprd typo
- Removed universal add of ata_piix from mkdumprd
- Fix infinite loop from modprobe changes
- Fixed kexec-kdump-howto.doc for RHEL6
- Update makedumpfile to 1.3.5
- Improved mkdumprd run time
- Cai's fix for broken regex
- Fixing crashkernel syntax parsing
- Fix initscript to return proper LSB return codes
- Fixed bad call to resolve_dm_name
- Added poweroff option to mkdumprd
- Fixed readlink issue
- Fixed x86_64 page_offset specifictaion
- Fixed lvm setup loop to not hang
- Added utsname support to makedumpfile for 2.6.32
- Fix critical_disks list to exclude cciss/md
- Add help info for -b option
- Add ability to handle firmware hotplug events
- Update mkdumprd to deal with changes in busybox fsck
- Vitaly's fix to detect need for 64 bit elf
- Fix major/minor numbers on /dev/rtc
- Fix ssh id propogation w/ selinux
- Add blacklist feature to kdump.conf
- Removed rhpl code from firstboot
- Fixed firstboot enable sense
- Remove bogus debug comment from mkdumprd.
- Handle SPARSEMEM properly
- Fix scp monitoring script
- Fix firstboot to find grub on EFI systems
- Fixed mkdumprd to remove dup insmod
- Fixed kdump fsck pause
- Fixed kdump option handling
- fixed raid5 module detection
2010-03-11 16:06:06 +00:00
* Thu Mar 11 2010 Neil Horman <nhorman@redhat.com> - 2.0.0-33
- Remove nash references from mkdumprd
2010-02-17 16:49:26 +00:00
* Wed Feb 17 2010 Neil Horman <nhorman@redhat.com> - 2.0.0-32
- Fixed spec file error
2010-02-17 16:41:55 +00:00
* Wed Feb 17 2010 Neil Horman <nhorman@redhat.com> - 2.0.0-31
- Adding kdump.conf man page
- Adding disk timeout parameter (bz 566135)
2009-12-01 17:56:44 +00:00
* Tue Dec 01 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-30
- Fix raid support in mkdumprd (bz 519767)
2009-11-23 16:17:42 +00:00
* Mon Nov 23 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-29
- Updating firstboot script to RHEL-6 version (bz 539812)
2009-11-06 19:03:58 +00:00
* Fri Nov 06 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-28
- Added abrt infrastructure to kdump init script (bz 533370)
2009-09-15 17:05:01 +00:00
* Tue Sep 15 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-27
- Fixing permissions on dracut module files
2009-09-11 17:09:51 +00:00
* Fri Sep 11 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-26
- Rebuild for translation team (bz 522415)
2009-09-10 14:36:34 +00:00
* Thu Sep 10 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-25
- Fix dracut module check file (bz 522486)
2009-08-14 13:30:28 +00:00
* Thu Aug 13 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-24
- update kdump adv conf init script & dracut module
* Wed Jul 29 2009 Neil Horman <nhorman@redhat.com> - 2.0,0-23
- Remove mkdumprd2 and start replacement with dracut
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-07-06 20:11:59 +00:00
* Mon Jul 06 2009 Neil Horman <nhorman@redhat.com> 2.0.0-21
- Fixed build break
2009-07-06 19:58:59 +00:00
* Mon Jul 06 2009 Neil Horman <nhorman@redhat.com> 2.0.0-20
- Make makedumpfile a dynamic binary
2009-07-06 19:00:59 +00:00
* Mon Jul 06 2009 Neil Horman <nhorman@redhat.com> 2.0.0-19
- Fix build issue
2009-07-06 18:00:03 +00:00
* Mon Jul 06 2009 Neil Horman <nhorman@redhat.com> 2.0.0-18
- Updated initscript to use mkdumprd2 if manifest is present
- Updated spec to require dash
- Updated sample manifest to point to correct initscript
2009-07-06 18:39:28 +00:00
- Updated populate_std_files helper to fix sh symlink
2009-07-06 18:00:03 +00:00
2009-07-06 16:47:17 +00:00
* Mon Jul 06 2009 Neil Horman <nhorman@redhat.com> 2.0.0-17
- Fixed mkdumprd2 tarball creation
2009-06-23 18:36:27 +00:00
* Wed Jun 23 2009 Neil Horman <nhorman@redhat.com> 2.0.0-16
- Fix up kdump so it works with latest firstboot
2009-06-15 16:58:42 +00:00
* Mon Jun 15 2009 Neil Horman <nhorman@redhat.com> 2.0.0-15
- Fixed some stat drive detect bugs by E. Biederman (bz505701)
2009-05-20 18:55:21 +00:00
* Wed May 20 2009 Neil Horman <nhorman@redhat.com> 2.0.0-14
- Put early copy of mkdumprd2 out in the wild (bz 466392)
2009-05-08 17:11:21 +00:00
* Fri May 08 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-13
- Update makedumpfile to v 1.3.3 (bz 499849)
2009-04-07 13:57:21 +00:00
* Tue Apr 07 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-12
- Simplifed rootfs mounting code in mkdumprd (bz 494416)
* Sun Apr 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.0.0-11
- Install the correct configuration for i586
2009-04-03 20:06:29 +00:00
* Fri Apr 03 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-10
- Fix problem with quoted CORE_COLLECTOR string (bz 493707)
2009-04-02 17:39:05 +00:00
* Thu Apr 02 2009 Orion Poplawski <orion@cora.nwra.com> - 2.0.0-9
- Add BR glibc-static
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-12-04 18:01:04 +00:00
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.0-7
- Rebuild for Python 2.6
2008-12-01 16:09:09 +00:00
* Mon Dec 01 2008 Neil Horman <nhorman@redhat.com> - 2.0.0.6
- adding makedumpfile man page updates (bz 473212)
2008-12-01 15:00:34 +00:00
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.0-5
- Rebuild for Python 2.6
2008-11-05 14:38:43 +00:00
* Wed Nov 05 2008 Neil Horman <nhorman@redhat.com> - 2.0.0-3
- Correct source file to use proper lang package (bz 335191)
2008-10-29 13:37:34 +00:00
* Wed Oct 29 2008 Neil Horman <nhorman@redhat.com> - 2.0.0-2
- Fix mkdumprd typo (bz 469001)
2008-09-15 13:58:38 +00:00
* Mon Sep 15 2008 Neil Horman <nhorman@redhat.com> - 2.0.0-2
- Fix sysconfig files to not specify --args-linux on x86 (bz 461615)
* Wed Aug 27 2008 Neil Horman <nhorman@redhat.com> - 2.0.0-1
- Update kexec-tools to latest upstream version
2008-08-27 11:26:34 +00:00
* Wed Aug 27 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-16
2008-08-27 11:24:36 +00:00
- Fix mkdumprd to properly use UUID/LABEL search (bz 455998)
2008-08-05 17:12:18 +00:00
* Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.102pre-15
- fix license tag
2008-07-28 11:26:50 +00:00
* Mon Jul 28 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-14
- Add video reset section to docs (bz 456572)
2008-07-14 14:52:37 +00:00
* Mon Jul 11 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-13
- Fix mkdumprd to support dynamic busybox (bz 443878)
2008-06-11 10:51:51 +00:00
* Wed Jun 11 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-12
- Added lvm to bin list (bz 443878)
2008-06-05 15:18:53 +00:00
* Thu Jun 05 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-11
- Update to latest makedumpfile from upstream
- Mass import of RHEL fixes missing in rawhide
2008-04-24 17:09:32 +00:00
* Thu Apr 24 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-10
- Fix mkdumprd to properly pull in libs for lvm/mdadm (bz 443878)
* Wed Apr 16 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-9
- Fix cmdline length issue
2008-03-25 12:32:52 +00:00
* Tue Mar 25 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-8
- Fixing ARCH definition for bz 438661
2008-03-24 11:46:05 +00:00
* Mon Mar 24 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-7
- Adding patches for bz 438661
* Fri Feb 22 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-6
- Bringing rawhide up to date with bugfixes from RHEL5
- Adding patch to prevent kexec buffer overflow on ppc (bz 428684)
2008-02-19 20:01:55 +00:00
* Tue Feb 19 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-5
- Modifying mkdumprd to include dynamic executibles (bz 433350)
2008-02-13 15:32:44 +00:00
* Wed Feb 12 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-4
- bumping rev number for rebuild
2008-01-02 15:39:15 +00:00
* Wed Jan 02 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-3
- Fix ARCH placement in kdump init script (bz 427201)
2008-01-03 17:07:35 +00:00
- Fix BuildRequires
- Fix Makedumpfile to build with new libelf
2008-01-02 15:39:15 +00:00
2007-10-01 13:02:50 +00:00
* Mon Oct 01 2007 Neil Horman <nhorman@redhat.com> - 1.102pre-2
- Fix triggerpostun script (bz 308151)
2007-08-30 16:19:16 +00:00
* Mon Aug 30 2007 Neil Horman <nhorman@redhat.com> - 1.102pre-1
- Bumping kexec version to latest horms tree (bz 257201)
- Adding trigger to remove initrds when a kernel is removed
2007-08-27 19:00:52 +00:00
2007-08-22 18:00:42 +00:00
* Wed Aug 22 2007 Neil Horman <nhorman@redhat.com> - 1.101-81
- Add xen-syms patch to makedumpfile (bz 250341)
2007-08-22 15:14:11 +00:00
* Wed Aug 22 2007 Neil Horman <nhorman@redhat.com> - 1.101-80
- Fix ability to determine space on nfs shares (bz 252170)
2007-08-21 15:21:40 +00:00
* Tue Aug 21 2007 Neil Horman <nhorman@redhat.com> - 1.101-79
- Update kdump.init to always create sparse files (bz 253714)
2007-08-10 15:26:05 +00:00
* Fri Aug 10 2007 Neil Horman <nhorman@redhat.com> - 1.101-78
- Update init script to handle xen kernel cmdlnes (bz 250803)
2007-08-01 17:44:53 +00:00
* Wed Aug 01 2007 Neil Horman <nhorman@redhat.com> - 1.101-77%{dist}
- Update mkdumprd to suppres notifications /rev makedumpfile (bz 250341)
2007-07-19 12:33:57 +00:00
* Thu Jul 19 2007 Neil Horman <nhorman@redhat.com> - 1.101-76%{dist}
2007-07-19 12:32:46 +00:00
- Fix mkdumprd to suppress informative messages (bz 248797)
2007-07-18 15:31:47 +00:00
* Wed Jul 18 2007 Neil Horman <nhorman@redhat.com> - 1.101-75%{dist}
- Updated fr.po translations (bz 248287)
2007-07-17 12:53:10 +00:00
* Mon Jul 17 2007 Neil Horman <nhorman@redhat.com> - 1.101-74%{dist}
- Fix up add_buff to retry locate_hole on segment overlap (bz 247989)
2007-07-09 18:55:53 +00:00
* Mon Jul 09 2007 Neil Horman <nhorman@redhat.com> - 1.101-73%{dist}
- Fix up language files for kexec (bz 246508)
2007-07-05 16:46:27 +00:00
* Thu Jul 05 2007 Neil Horman <nhorman@redhat.com> - 1.101-72%{dist}
- Fixing up initscript for LSB (bz 246967)
2007-06-19 11:05:47 +00:00
* Tue Jun 19 2007 Neil Horman <nhorman@redhat.com> - 1.101-71%{dist}
- Fixed conflict in mkdumprd in use of /mnt (bz 222911)
2007-06-18 19:04:08 +00:00
* Mon Jun 18 2007 Neil Horman <nhorman@redhat.com> - 1.101-70%{dist}
- Fixed kdump.init to properly read cmdline (bz 244649)
2007-04-11 13:53:39 +00:00
* Wed Apr 11 2007 Neil Horman <nhorman@redhat.com> - 1.101-69%{dist}
- Fixed up kdump.init to enforce mode 600 on authorized_keys2 (bz 235986)
* Tue Apr 10 2007 Neil Horman <nhorman@redhat.com> - 1.101-68%{dist}
- Fix alignment of bootargs and device-tree structures on ppc64
2007-04-10 18:09:16 +00:00
* Tue Apr 10 2007 Neil Horman <nhorman@redhat.com> - 1.101-67%{dist}
- Allow ppc to boot ppc64 kernels (bz 235608)
2007-04-10 15:03:31 +00:00
* Tue Apr 10 2007 Neil Horman <nhorman@redhat.com> - 1.101-66%{dist}
- Reduce rmo_top to 0x7c000000 for PS3 (bz 235030)
2007-03-26 13:22:11 +00:00
* Mon Mar 26 2007 Neil Horman <nhorman@redhat.com> - 1.101-65%{dist}
- Fix spec to own kexec_tools directory (bz 219035)
2007-03-21 17:17:22 +00:00
* Wed Mar 21 2007 Neil Horman <nhorman@redhat.com> - 1.101-64%{dist}
- Add fix for ppc memory region computation (bz 233312)
2007-03-15 17:36:03 +00:00
* Thu Mar 15 2007 Neil Horman <nhorman@redhat.com> - 1.101-63%{dist}
- Adding extra check to avoid oom kills on nfs mount failure (bz 215056)
2007-03-06 21:09:57 +00:00
* Tue Mar 06 2007 Neil Horman <nhorman@redhat.com> - 1.101-62%{dist}
- Updating makedumpfile to version 1.1.1 (bz 2223743)
2007-02-22 22:00:39 +00:00
* Mon Feb 22 2007 Neil Horman <nhorman@redhat.com> - 1.101-61%{dist}
- Adding multilanguage infrastructure to firstboot_kdump (bz 223175)
2007-02-12 18:49:03 +00:00
* Mon Feb 12 2007 Neil Horman <nhorman@redhat.com> - 1.101-60%{dist}
- Fixing up file permissions on kdump.conf (bz 228137)
2007-02-09 21:09:34 +00:00
* Fri Feb 09 2007 Neil Horman <nhorman@redhat.com> - 1.101-59%{dist}
- Adding mkdumprd man page to build
2007-01-25 20:47:54 +00:00
* Wed Jan 25 2007 Neil Horman <nhorman@redhat.com> - 1.101-58%{dist}
- Updating kdump.init and mkdumprd with most recent RHEL5 fixes
2007-01-26 14:43:29 +00:00
- Fixing BuildReq to require elfutils-devel-static
2007-01-04 19:19:31 +00:00
* Thu Jan 04 2007 Neil Horman <nhorman@redhat.com> - 1.101-56%{dist}
2007-01-04 19:18:42 +00:00
- Fix option parsing problem for bzImage files (bz 221272)
2007-01-04 19:19:31 +00:00
* Fri Dec 15 2006 Neil Horman <nhorman@redhat.com> - 1.101-55%{dist}
2006-12-15 21:05:01 +00:00
- Wholesale update of RHEL5 revisions 55-147
* Tue Aug 29 2006 Neil Horman <nhorman@redhat.com> - 1.101-54%{dist}
- integrate default elf format patch
2006-12-15 21:05:01 +00:00
* Tue Aug 29 2006 Neil Horman <nhorman@redhat.com> - 1.101-53%{dist}
- Taking Viveks x86_64 crashdump patch (rcv. via email)
2006-09-23 01:56:44 +00:00
2006-12-15 21:05:01 +00:00
* Tue Aug 29 2006 Neil Horman <nhorman@redhat.com> - 1.101-52%{dist}
- Taking ia64 tools patch for bz 181358
2006-09-19 19:43:34 +00:00
2006-12-15 21:05:01 +00:00
* Mon Aug 28 2006 Neil Horman <nhorman@redhat.com> - 1.101-51%{dist}
- more doc updates
- added patch to fix build break from kernel headers change
2006-08-31 13:23:33 +00:00
2006-12-15 21:05:01 +00:00
* Thu Aug 24 2006 Neil Horman <nhorman@redhat.com> - 1.101-50%{dist}
- repo patch to enable support for relocatable kernels.
2006-08-28 18:57:08 +00:00
* Thu Aug 24 2006 Neil Horman <nhorman@redhat.com> - 1.101-49%{dist}
- rewriting kcp to properly do ssh and scp
- updating mkdumprd to use new kcp syntax
* Wed Aug 23 2006 Neil Horman <nhorman@redhat.com> - 1.101-48%{dist}
2006-08-23 20:26:20 +00:00
- Bumping revision number
* Tue Aug 22 2006 Jarod Wilson <jwilson@redhat.com> - 1.101-47%{dist}
- ppc64 no-more-platform fix
* Mon Aug 21 2006 Jarod Wilson <jwilson@redhat.com> - 1.101-46%{dist}
- ppc64 fixups:
- actually build ppc64 binaries (bug 203407)
- correct usage output
- avoid segfault in command-line parsing
- install kexec man page
- use regulation Fedora BuildRoot
2006-08-18 17:00:45 +00:00
* Fri Aug 18 2006 Neil Horman <nhorman@redhat.com> - 1.101-45%{dist}
- fixed typo in mkdumprd for bz 202983
- fixed typo in mkdumprd for bz 203053
- clarified docs in kdump.conf with examples per bz 203015
2006-08-15 15:16:07 +00:00
* Tue Aug 15 2006 Neil Horman <nhorman@redhat.com> - 1.101-44%{dist}
- updated init script to implement status function/scrub err messages
* Wed Aug 09 2006 Jarod Wilson <jwilson@redhat.com> - 1.101-43%{dist}
- Misc spec cleanups and macro-ifications
* Wed Aug 09 2006 Jarod Wilson <jwilson@redhat.com> - 1.101-42%{dist}
- Add %dir /var/crash, so default kdump setup works
2006-08-03 18:07:36 +00:00
* Thu Aug 03 2006 Neil Horman <nhorman@redhat.com> - 1.101-41%{dist}.1
- fix another silly makefile error for makedumpfile
2006-08-03 17:40:16 +00:00
* Thu Aug 03 2006 Neil Horman <nhorman@redhat.com> - 1.101-40%{dist}.1
- exclude makedumpfile from build on non-x86[_64] arches
* Thu Aug 03 2006 Neil Horman <nhorman@redhat.com> - 1.101-39%{dist}.1
- exclude makedumpfile from build on non-x86[_64] arches
* Thu Aug 03 2006 Neil Horman <nhorman@redhat.com> - 1.101-38%{dist}.1
- updating makedumpfile makefile to use pkg-config on glib-2.0
* Thu Aug 03 2006 Neil Horman <nhorman@redhat.com> - 1.101-37%{dist}.1
- updating makedumpfile makefile to use pkg-config
2006-08-03 14:46:07 +00:00
* Thu Aug 03 2006 Neil Horman <nhorman@redhat.com> - 1.101-36%{dist}.1
- Removing unneeded deps after Makefile fixup for makedumpfile
2006-08-03 13:32:49 +00:00
* Thu Aug 03 2006 Neil Horman <nhorman@redhat.com> - 1.101-35%{dist}.1
- fixing up FC6/RHEL5 BuildRequires line to build in brew
2006-08-02 19:41:04 +00:00
* Wed Aug 02 2006 Neil Horman <nhorman@redhat.com> - 1.101-34%{dist}.1
- enabling makedumpfile in build
2006-08-02 19:25:03 +00:00
* Wed Aug 02 2006 Neil Horman <nhorman@redhat.com> - 1.101-33%{dist}.1
2006-08-02 19:41:04 +00:00
- added makedumpfile source to package
2006-08-02 19:25:03 +00:00
2006-07-31 14:55:12 +00:00
* Mon Jul 31 2006 Neil Horman <nhorman@redhat.com> - 1.101-32%{dist}.1
- added et-dyn patch to allow loading of relocatable kernels
2006-07-27 13:08:21 +00:00
* Thu Jul 27 2006 Neil Horman <nhorman@redhat.com> - 1.101-30%{dist}.1
2006-07-31 14:55:12 +00:00
- fixing up missing patch to kdump.init
2006-07-27 13:08:21 +00:00
2006-07-20 03:36:18 +00:00
* Wed Jul 19 2006 Neil Horman <nhorman@redhat.com> - 1.101-30%{dist}.1
2006-07-31 14:55:12 +00:00
- add kexec frontend (bz 197695)
2006-07-20 03:36:18 +00:00
2006-07-12 06:42:46 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.101-29%{dist}.1
- rebuild
2006-07-05 20:08:23 +00:00
* Wed Jul 07 2006 Neil Horman <nhorman@redhat.com> 1.101-27.fc6
- Buildrequire zlib-devel
2006-06-22 18:27:44 +00:00
* Thu Jun 22 2006 Neil Horman <nhorman@redhat.com> -1.101-19
- Bumping rev number
* Thu Jun 22 2006 Neil Horman <nhorman@redhat.com> -1.101-17
- Add patch to allow ppc64 to ignore args-linux option
* Wed Mar 08 2006 Bill Nottingham <notting@redhat.com> - 1.101-16
- fix scriptlet - call chkconfig --add, change the default in the
script itself (#183633)
* Wed Mar 08 2006 Thomas Graf <tgraf@redhat.com> - 1.101-15
- Don't add kdump service by default, let the user manually add it to
avoid everyone seeing a warning.
* Tue Mar 07 2006 Thomas Graf <tgraf@redhat.com> - 1.101-14
- Fix kdump.init to call kexec from its new location
2006-03-06 21:40:51 +00:00
* Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 1.101-13
- proper requires for scriptlets
* Mon Mar 06 2006 Thomas Graf <tgraf@redhat.com> - 1.101-12
- Move kexec and kdump binaries to /sbin
* Thu Mar 02 2006 Thomas Graf <tgraf@redhat.com> - 1.101-11
- Fix argument order when stopping kexec
* Mon Feb 27 2006 Thomas Graf <tgraf@redhat.com> - 1.101-10
- kdump7.patch
o Remove elf32 core headers support for x86_64
o Fix x86 prepare elf core header routine
o Fix ppc64 kexec -p failure for gcc 4.10
o Fix few warnings for gcc 4.10
o Add the missing --initrd option for ppc64
o Fix ppc64 persistent root device bug
- Remove --elf32-core-headers from default configuration, users
may re-add it via KEXEC_ARGS.
- Remove obsolete KEXEC_HEADERS
* Wed Feb 22 2006 Thomas Graf <tgraf@redhat.com> - 1.101-9
- Remove wrong quotes around --command-line in kdump.init
* Fri Feb 17 2006 Jeff Moyer <jmoyer@redhat.com> - 1.101-8
- Fix the service stop case. It was previously unloading the wrong kernel.
- Implement the "restart" function.
- Add the "irqpoll" option as a default kdump kernel commandline parameter.
- Create a default kernel command line in the sysconfig file upon rpm install.
2006-02-07 12:26:54 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.101-7.1.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Thu Feb 02 2006 Thomas Graf <tgraf@redhat.com> - 1.101-7.1
- Add patch to enable the kdump binary for x86_64
* Wed Feb 01 2006 Thomas Graf <tgraf@redhat.com>
- New kdump patch to support s390 arch + various fixes
- Include kdump in x86_64 builds
* Mon Jan 30 2006 Thomas Graf <tgraf@redhat.com>
- New kdump patch to support x86_64 userspace
2005-12-16 23:20:48 +00:00
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt for new gcj
* Wed Nov 16 2005 Thomas Graf <tgraf@redhat.com> - 1.101-5
- Report missing kdump kernel image as warning
* Thu Nov 3 2005 Jeff Moyer <jmoyer@redhat.com> - 1.101-4
- Build for x86_64 as well. Kdump support doesn't work there, but users
should be able to use kexec.
* Fri Sep 23 2005 Jeff Moyer <jmoyer@redhat.com> - 1.101-3
- Add a kdump sysconfig file and init script
- Spec file additions for pre/post install/uninstall
* Thu Aug 25 2005 Jeff Moyer <jmoyer@redhat.com>
- Initial prototype for RH/FC5