From eba0cfa6b0bef4f2e73c8630a7efa3944df8b0f8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:56:35 +0200 Subject: Adding upstream version 1:2.0.27. Signed-off-by: Daniel Baumann --- kexec-tools.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 kexec-tools.spec (limited to 'kexec-tools.spec') diff --git a/kexec-tools.spec b/kexec-tools.spec new file mode 100644 index 0000000..169aceb --- /dev/null +++ b/kexec-tools.spec @@ -0,0 +1,42 @@ +Summary: Load one kernel from another +Name: kexec-tools +Version: 2.0.27 +Release: 0 +License: GPL +Group: Development/Tools +Source0:%{name}-%{version}.tar.gz +Packager: Eric Biederman +BuildRoot: %{_tmppath}/%{name} + +%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 -n %{name}-%{version} + +%build +%configure +make + +%install +make install DESTDIR=${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +%{_sbindir}/kexec +%{_sbindir}/vmcore-dmesg +%doc News +%doc COPYING +%doc TODO +%{_mandir}/man8/kexec.8.gz +%{_mandir}/man8/vmcore-dmesg.8.gz + +%changelog +* Tue Dec 16 2004 Eric Biederman +- kexec-tools initialy packaged as an rpm. -- cgit v1.2.3