Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Rings:1-MinimalX
kexec-tools
kexec-tools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kexec-tools.spec of Package kexec-tools
# # spec file for package kexec-tools # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: kexec-tools Version: 2.0.16 Release: 0 Summary: Tools for loading replacement kernels into memory License: GPL-2.0+ Group: System/Kernel Url: ftp://kernel.org/pub/linux/utils/kernel/kexec/%{name}-%{version}.tar.bz2 Source: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/snapshot/%{name}-%{version}.tar.gz Source1: kexec-bootloader Source2: kexec-bootloader.8 Source3: kexec-load.service Source4: %{name}-rpmlintrc Patch1: %{name}-xen-static.patch Patch2: %{name}-xen-balloon-up.patch Patch3: %{name}-disable-test.patch Patch4: %{name}-add-a-helper-function-to-add-ranges.patch Patch5: %{name}-ppc64-parse-ibm-dynamic-memory.patch Patch6: %{name}-ppc64-leverage-kexec_file_load-support.patch Patch7: %{name}-Return-ENOSYS-when-kexec-does-not-know.patch Patch8: %{name}-Fix-option-checks-to-take-KEXEC_FILE_LOAD.patch Patch9: %{name}-Do-not-special-case-the-s-option.patch Patch10: %{name}-Add-option-to-revert-s.patch Patch11: %{name}-Add-option-to-fall-back-to-KEXEC_LOAD.patch Patch12: %{name}-Document-s-c-and-a-options-in-the-man-page.patch Patch13: %{name}-fix-kexec-p-segfault.patch Patch14: %{name}-vmcoreinfo-in-xen.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: systemd-rpm-macros BuildRequires: zlib-devel #!BuildIgnore: fop #!BuildIgnore: gcc-PIE Requires: perl-Bootloader Requires(post): suse-module-tools Requires(postun): suse-module-tools %{?systemd_requires} %ifarch x86_64 BuildRequires: pkgconfig BuildRequires: xen-devel %endif %description 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. %prep %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %build autoreconf -fvi export CFLAGS="%{optflags}" export BUILD_CFLAGS="%{optflags}" %configure make %{?_smp_mflags} %install %make_install install -c -m 0644 %{SOURCE2} %{buildroot}/%{_mandir}/man8 rm -f %{buildroot}/%{_mandir}/man8/kdump.8 mkdir -p %{buildroot}/%{_sbindir} install -m 0755 %{SOURCE1} %{buildroot}/%{_sbindir} mkdir -p %{buildroot}/%{_unitdir} install -m644 %{SOURCE3} %{buildroot}/%{_unitdir} ln -s service %{buildroot}%{_sbindir}/rckexec-load #UsrMerge mkdir -p %{buildroot}/sbin ln -s %{_sbindir}/kdump %{buildroot}/sbin ln -s %{_sbindir}/kexec %{buildroot}/sbin #EndUsrMerge %post %service_add_post kexec-load.service %{?regenerate_initrd_post} %postun %service_del_postun kexec-load.service %{?regenerate_initrd_post} %pre %service_add_pre kexec-load.service %preun %service_del_preun kexec-load.service %posttrans %{?regenerate_initrd_posttrans} %files %doc AUTHORS COPYING News TODO doc %{_mandir}/man*/* #UsrMerge /sbin/kdump /sbin/kexec #EndUsrMerge %{_sbindir}/rckexec-load %{_sbindir}/kdump %{_sbindir}/kexec %{_sbindir}/kexec-bootloader %{_sbindir}/vmcore-dmesg %{_unitdir}/kexec-load.service %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor