rebuilt with debug package [release 2.0.20-2mamba;Tue Dec 08 2020]
This commit is contained in:
parent
4fdc17cf41
commit
f76857004e
@ -2,6 +2,5 @@
|
|||||||
|
|
||||||
/sbin/kexec is a user space utility for loading another kernel and asking the currently running kernel to do something with it.
|
/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.
|
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.
|
The panic case is useful for having an intact kernel for writing crash dumps. But other uses may be imagined.
|
||||||
|
|
||||||
|
11
kexec-tools-2.0.20-arm-buildfix.patch
Normal file
11
kexec-tools-2.0.20-arm-buildfix.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- kexec-tools-2.0.20/kexec/arch/arm/kexec-zImage-arm.c.orig 2020-12-10 11:15:37.241691824 +0100
|
||||||
|
+++ kexec-tools-2.0.20/kexec/arch/arm/kexec-zImage-arm.c 2020-12-10 11:15:45.637546243 +0100
|
||||||
|
@@ -569,7 +569,7 @@
|
||||||
|
tag = find_extension_tag(buf, len, ZIMAGE_TAG_KRNL_SIZE);
|
||||||
|
if (tag) {
|
||||||
|
uint32_t *p = (void *)buf + le32_to_cpu(tag->u.krnl_size.size_ptr);
|
||||||
|
- uint32_t edata_size = le32_to_cpu(get_unaligned(p));
|
||||||
|
+ uint32_t edata_size = le32_to_cpu(p);
|
||||||
|
uint32_t bss_size = le32_to_cpu(tag->u.krnl_size.bss_size);
|
||||||
|
uint32_t kernel_size = edata_size + bss_size;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.20
|
Version: 2.0.20
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Load one kernel from another
|
Summary: Load one kernel from another
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -10,6 +10,7 @@ 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
|
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
|
Patch0: kexec-tools-2.0.13-arm-missing-files.patch
|
||||||
Patch1: kexec-tools-2.0.20-x86-fix.patch
|
Patch1: kexec-tools-2.0.20-x86-fix.patch
|
||||||
|
Patch2: kexec-tools-2.0.20-arm-buildfix.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -27,18 +28,24 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%description
|
%description
|
||||||
/sbin/kexec is a user space utility for loading another kernel and asking the currently running kernel to do something with it.
|
/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.
|
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.
|
The panic case is useful for having an intact kernel for writing crash dumps. But other uses may be imagined.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch arm
|
||||||
|
%patch2 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure \
|
||||||
|
CFLAGS="%{optflags} -fcommon"
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -61,6 +68,9 @@ The panic case is useful for having an intact kernel for writing crash dumps. B
|
|||||||
#TODO
|
#TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.20-2mamba
|
||||||
|
- rebuilt with debug package
|
||||||
|
|
||||||
* Fri Sep 06 2019 Automatic Build System <autodist@mambasoft.it> 2.0.20-1mamba
|
* Fri Sep 06 2019 Automatic Build System <autodist@mambasoft.it> 2.0.20-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user