kfan / rpms / kexec-tools

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