summaryrefslogtreecommitdiffstats
path: root/kexec-tools.spec
diff options
context:
space:
mode:
Diffstat (limited to 'kexec-tools.spec')
-rw-r--r--kexec-tools.spec42
1 files changed, 42 insertions, 0 deletions
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 <ebiederman@xmission.com>
+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 <ebiederman@lnxi.com>
+- kexec-tools initialy packaged as an rpm.