diff --git a/kexec-tools-2.0.13-arm-missing-files.patch b/kexec-tools-2.0.13-arm-missing-files.patch new file mode 100644 index 0000000..fc29267 --- /dev/null +++ b/kexec-tools-2.0.13-arm-missing-files.patch @@ -0,0 +1,25 @@ +diff -Nru kexec-tools-2.0.13.orig/kexec/arch/arm/iomem.h kexec-tools-2.0.13/kexec/arch/arm/iomem.h +--- kexec-tools-2.0.13.orig/kexec/arch/arm/iomem.h 1970-01-01 01:00:00.000000000 +0100 ++++ kexec-tools-2.0.13/kexec/arch/arm/iomem.h 2016-12-16 10:24:52.000000000 +0100 +@@ -0,0 +1,9 @@ ++#ifndef IOMEM_H ++#define IOMEM_H ++ ++#define SYSTEM_RAM "System RAM\n" ++#define SYSTEM_RAM_BOOT "System RAM (boot alias)\n" ++#define CRASH_KERNEL "Crash kernel\n" ++#define CRASH_KERNEL_BOOT "Crash kernel (boot alias)\n" ++ ++#endif +diff -Nru kexec-tools-2.0.13.orig/kexec/arch/arm/phys_to_virt.h kexec-tools-2.0.13/kexec/arch/arm/phys_to_virt.h +--- kexec-tools-2.0.13.orig/kexec/arch/arm/phys_to_virt.h 1970-01-01 01:00:00.000000000 +0100 ++++ kexec-tools-2.0.13/kexec/arch/arm/phys_to_virt.h 2016-12-16 10:24:59.000000000 +0100 +@@ -0,0 +1,8 @@ ++#ifndef PHYS_TO_VIRT_H ++#define PHYS_TO_VIRT_H ++ ++#include ++ ++extern uint64_t phys_offset; ++ ++#endif diff --git a/kexec-tools.spec b/kexec-tools.spec index 7288add..57be530 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools -Version: 2.0.12 -Release: 1mamba +Version: 2.0.13 +Release: 2mamba Summary: Load one kernel from another Group: System/Kernel and Hardware Vendor: openmamba @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.kernel.org/pub/linux/utils/kernel/kexec/README.html Source: http://www.kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-%{version}.tar.xz +Patch0: kexec-tools-2.0.13-arm-missing-files.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -18,7 +19,7 @@ BuildRequires: libxen-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END %ifarch %{ix86} x86_64 -BuildRequires: libxen-devel >= 4.2.2 +BuildRequires: libxen-devel >= 4.8.0-1mamba %endif BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -30,6 +31,7 @@ The panic case is useful for having an intact kernel for writing crash dumps. B %prep %setup -q +%patch0 -p1 %build %configure @@ -57,6 +59,12 @@ The panic case is useful for having an intact kernel for writing crash dumps. B #TODO %changelog +* Sat Dec 10 2016 Silvan Calarco 2.0.13-2mamba +- rebuilt by autoport with build requirements: libxen-devel>=4.8.0-1mamba + +* Tue Nov 15 2016 Automatic Build System 2.0.13-1mamba +- automatic version update by autodist + * Sat Jul 16 2016 Automatic Build System 2.0.12-1mamba - automatic version update by autodist