-
Notifications
You must be signed in to change notification settings - Fork 64
/
kexec-tools.spec
42 lines (35 loc) · 995 Bytes
/
kexec-tools.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Summary: Load one kernel from another
Name: kexec-tools
Version: 2.0.2
Release: 0
License: GPL
Group: Development/Tools
Source0:%{name}-%{version}.tar.gz
Packager: Eric Biederman <[email protected]>
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}/kdump
%{_libdir}/%{name}/kexec_test
%doc News
%doc COPYING
%doc TODO
#%{_mandir}/man8/kexec.8.gz
%changelog
* Tue Dec 16 2004 Eric Biederman <[email protected]>
- kexec-tools initialy packaged as an rpm.