-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathkexec-reboot.spec
45 lines (30 loc) · 1.01 KB
/
kexec-reboot.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
43
44
45
Name: kexec-reboot
Version: 0.8.2
Release: 1%{?dist}
Summary: Easily choose a kernel to kexec
License: GPLv3
URL: https://github.com/error10/kexec-reboot
Source0: https://github.com/error10/kexec-reboot/archive/%{version}.zip
BuildArch: noarch
# 2.0.0-203 required on EL6 due to BZ#717637
Requires: kexec-tools >= 2.0.0-203
Requires: ruby(release) >= 1.8.7
%description
Kexec lets you boot your Linux kernel into another kernel without going through
the hardware reset and reinitialization performed by your system BIOS or
firmware. Since this process can take several minutes, being able to skip it
reduces your downtime.
kexec-reboot aims to automate staging a kernel for kexec, so that you can
reboot more quickly and accurately.
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}%{_bindir}
install -m 0755 kexec-reboot %{buildroot}%{_bindir}/kexec-reboot
%files
%doc README.md LICENSE
%{_bindir}/kexec-reboot
%changelog
* Mon Nov 6 2017 Michael Hampton <[email protected]> 0.8.2-1
- Initial RPM release.