2024-01-06 01:28:06 +01:00
|
|
|
Name: kexec-tools
|
2024-01-06 01:28:09 +01:00
|
|
|
Version: 2.0.27
|
2024-01-06 01:28:08 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 01:28:06 +01:00
|
|
|
Summary: Load one kernel from another
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 01:28:08 +01:00
|
|
|
URL: https://mirrors.edge.kernel.org/pub/linux/utils/kernel/kexec/
|
2024-01-06 01:28:06 +01:00
|
|
|
Source: http://www.kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-%{version}.tar.xz
|
2024-01-06 01:28:07 +01:00
|
|
|
Patch0: kexec-tools-2.0.13-arm-missing-files.patch
|
2024-01-06 01:28:07 +01:00
|
|
|
Patch1: kexec-tools-2.0.20-x86-fix.patch
|
2024-01-06 01:28:07 +01:00
|
|
|
Patch2: kexec-tools-2.0.20-arm-buildfix.patch
|
2024-01-06 01:28:06 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
BuildRequires: libxen-devel
|
|
|
|
%endif
|
|
|
|
BuildRequires: libz-devel
|
2024-01-06 01:28:08 +01:00
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
BuildRequires: libxen-devel >= 4.16.0
|
|
|
|
%endif
|
2024-01-06 01:28:06 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-06 01:28:07 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 01:28:06 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 01:28:07 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 01:28:07 +01:00
|
|
|
#%ifarch %{ix86}
|
|
|
|
#%patch1 -p1
|
|
|
|
#%endif
|
2024-01-06 01:28:07 +01:00
|
|
|
%ifarch arm
|
2024-01-06 01:28:09 +01:00
|
|
|
%patch 2 -p1
|
2024-01-06 01:28:07 +01:00
|
|
|
%endif
|
2024-01-06 01:28:06 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 01:28:07 +01:00
|
|
|
%configure \
|
|
|
|
CFLAGS="%{optflags} -fcommon"
|
|
|
|
|
2024-01-06 01:28:06 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/kexec
|
|
|
|
%{_sbindir}/vmcore-dmesg
|
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
%{_libdir}/kexec-tools/kexec_test
|
|
|
|
%endif
|
2024-01-06 01:28:07 +01:00
|
|
|
%{_mandir}/man8/kexec.8*
|
|
|
|
%{_mandir}/man8/vmcore-dmesg.8*
|
2024-01-06 01:28:06 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 01:28:09 +01:00
|
|
|
* Thu Aug 31 2023 Automatic Build System <autodist@mambasoft.it> 2.0.27-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:08 +01:00
|
|
|
* Fri Dec 23 2022 Automatic Build System <autodist@mambasoft.it> 2.0.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 01 2022 Automatic Build System <autodist@mambasoft.it> 2.0.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:08 +01:00
|
|
|
* Mon Apr 11 2022 Automatic Build System <autodist@mambasoft.it> 2.0.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:08 +01:00
|
|
|
* Sat Jan 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.23-2mamba
|
|
|
|
- rebuilt with libxen 4.16.0
|
|
|
|
|
2024-01-06 01:28:08 +01:00
|
|
|
* Wed Nov 10 2021 Automatic Build System <autodist@mambasoft.it> 2.0.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:08 +01:00
|
|
|
* Mon May 03 2021 Automatic Build System <autodist@mambasoft.it> 2.0.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:07 +01:00
|
|
|
* Sat Feb 06 2021 Automatic Build System <autodist@mambasoft.it> 2.0.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:07 +01:00
|
|
|
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.20-2mamba
|
|
|
|
- rebuilt with debug package
|
|
|
|
|
2024-01-06 01:28:07 +01:00
|
|
|
* Fri Sep 06 2019 Automatic Build System <autodist@mambasoft.it> 2.0.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:07 +01:00
|
|
|
* Fri Jun 22 2018 Automatic Build System <autodist@mambasoft.it> 2.0.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:07 +01:00
|
|
|
* Thu Sep 28 2017 Automatic Build System <autodist@mambasoft.it> 2.0.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:07 +01:00
|
|
|
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.0.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:07 +01:00
|
|
|
* Sat Dec 10 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.13-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libxen-devel>=4.8.0-1mamba
|
|
|
|
|
|
|
|
* Tue Nov 15 2016 Automatic Build System <autodist@mambasoft.it> 2.0.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:06 +01:00
|
|
|
* Sat Jul 16 2016 Automatic Build System <autodist@mambasoft.it> 2.0.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:06 +01:00
|
|
|
* Sat Sep 05 2015 Automatic Build System <autodist@mambasoft.it> 2.0.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:28:06 +01:00
|
|
|
* Tue Feb 17 2015 Automatic Build System <autodist@mambasoft.it> 2.0.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 01:28:06 +01:00
|
|
|
* Thu Oct 16 2014 Automatic Build System <autodist@mambasoft.it> 2.0.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 01:28:06 +01:00
|
|
|
* Wed Jun 25 2014 Automatic Build System <autodist@mambasoft.it> 2.0.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 01:28:06 +01:00
|
|
|
* Wed Apr 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-1mamba
|
|
|
|
- update to 2.0.6
|
|
|
|
|
|
|
|
* Thu May 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-2mamba
|
|
|
|
- rebuilt with xen 4.2.2
|
|
|
|
|
|
|
|
* Wed Mar 20 2013 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Apr 10 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1mamba
|
|
|
|
- package created by autospec
|