From 043d458ced4f235269edbba407cf12fb2ffced2f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 01:28:06 +0100 Subject: [PATCH] update to 2.0.6 [release 2.0.6-1mamba;Wed Apr 09 2014] --- README.md | 5 ++++ kexec-tools.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 kexec-tools.spec diff --git a/README.md b/README.md index 038c8a2..6d0321e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # kexec-tools +/sbin/kexec is a user space utility for loading another kernel and asking the currently running kernel to do something with it. +A currently running kernel may be asked to start the loaded kernel on reboot, or to start the loaded kernel after it panics. + +The panic case is useful for having an intact kernel for writing crash dumps. But other uses may be imagined. + diff --git a/kexec-tools.spec b/kexec-tools.spec new file mode 100644 index 0000000..381651b --- /dev/null +++ b/kexec-tools.spec @@ -0,0 +1,73 @@ +Name: kexec-tools +Version: 2.0.6 +Release: 1mamba +Summary: Load one kernel from another +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kernel.org/pub/linux/utils/kernel/kexec/README.html +Source: http://www.kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: liblzma-devel +%ifarch %{ix86} x86_64 +BuildRequires: libxen-devel +%endif +BuildRequires: libz-devel +## AUTOBUILDREQ-END +%ifarch %{ix86} x86_64 +BuildRequires: libxen-devel >= 4.2.2 +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +/sbin/kexec is a user space utility for loading another kernel and asking the currently running kernel to do something with it. +A currently running kernel may be asked to start the loaded kernel on reboot, or to start the loaded kernel after it panics. + +The panic case is useful for having an intact kernel for writing crash dumps. But other uses may be imagined. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sbindir}/kdump +%{_sbindir}/kexec +%{_sbindir}/vmcore-dmesg +%ifarch %{ix86} x86_64 +%{_libdir}/kexec-tools/kexec_test +%endif +%{_mandir}/man8/kdump.8.gz +%{_mandir}/man8/kexec.8.gz +%{_mandir}/man8/vmcore-dmesg.8.gz +%doc AUTHORS COPYING +#TODO + +%changelog +* Wed Apr 09 2014 Silvan Calarco 2.0.6-1mamba +- update to 2.0.6 + +* Thu May 30 2013 Silvan Calarco 2.0.4-2mamba +- rebuilt with xen 4.2.2 + +* Wed Mar 20 2013 Automatic Build System 2.0.4-1mamba +- automatic version update by autodist + +* Wed Apr 25 2012 Automatic Build System 2.0.3-1mamba +- automatic version update by autodist + +* Sun Apr 10 2011 Silvan Calarco 2.0.2-1mamba +- package created by autospec