adding page.h fix
This commit is contained in:
parent
3060ffe3d7
commit
18d627335b
19
kexec-tools-1.101-page_h.patch
Normal file
19
kexec-tools-1.101-page_h.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
--- kexec-tools-1.101/kexec/arch/i386/kexec-multiboot-x86.c.orig 2006-08-28 14:32:50.000000000 -0400
|
||||||
|
+++ kexec-tools-1.101/kexec/arch/i386/kexec-multiboot-x86.c 2006-08-28 14:34:29.000000000 -0400
|
||||||
|
@@ -47,7 +47,6 @@
|
||||||
|
#include <getopt.h>
|
||||||
|
#include <elf.h>
|
||||||
|
#include <boot/elf_boot.h>
|
||||||
|
-#include <asm/page.h>
|
||||||
|
#include <ip_checksum.h>
|
||||||
|
#include "../../kexec.h"
|
||||||
|
#include "../../kexec-elf.h"
|
||||||
|
@@ -342,7 +341,7 @@
|
||||||
|
/* Pick the next aligned spot to load it in */
|
||||||
|
freespace = add_buffer(info,
|
||||||
|
buf, mod_size, mod_size,
|
||||||
|
- PAGE_SIZE, 0, 0xffffffffUL, 1);
|
||||||
|
+ getpagesize(), 0, 0xffffffffUL, 1);
|
||||||
|
|
||||||
|
/* Add the module command line */
|
||||||
|
sprintf(mod_clp, "%s", mod_command_line);
|
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 1.101
|
Version: 1.101
|
||||||
Release: 49%{?dist}
|
Release: 50%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
Summary: The kexec/kdump userspace component.
|
||||||
@ -58,6 +58,7 @@ Patch603: kexec-tools-1.101-et-dyn.patch
|
|||||||
Patch604: kexec-tools-1.101-add-makedumpfile1.patch
|
Patch604: kexec-tools-1.101-add-makedumpfile1.patch
|
||||||
Patch605: kexec-tools-1.101-add-makedumpfile2.patch
|
Patch605: kexec-tools-1.101-add-makedumpfile2.patch
|
||||||
Patch606: kexec-tools-1.101-makedumpfile-archbuild.patch
|
Patch606: kexec-tools-1.101-makedumpfile-archbuild.patch
|
||||||
|
Patch607: kexec-tools-1.101-page_h.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
kexec-tools provides /sbin/kexec binary that facilitates a new
|
kexec-tools provides /sbin/kexec binary that facilitates a new
|
||||||
@ -91,6 +92,7 @@ tar -C makedumpfile -z -x -v -f %{SOURCE7}
|
|||||||
%patch604 -p1
|
%patch604 -p1
|
||||||
%patch605 -p1
|
%patch605 -p1
|
||||||
%patch606 -p1
|
%patch606 -p1
|
||||||
|
%patch607 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -157,6 +159,9 @@ exit 0
|
|||||||
%doc TODO
|
%doc TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 28 2006 Neil Horman <nhorman@redhat.com> - 1.101-50%{dist}
|
||||||
|
- updating to build without need for asm/page.h on x86_64
|
||||||
|
|
||||||
* Thu Aug 24 2006 Neil Horman <nhorman@redhat.com> - 1.101-49%{dist}
|
* Thu Aug 24 2006 Neil Horman <nhorman@redhat.com> - 1.101-49%{dist}
|
||||||
- rewriting kcp to properly do ssh and scp
|
- rewriting kcp to properly do ssh and scp
|
||||||
- updating mkdumprd to use new kcp syntax
|
- updating mkdumprd to use new kcp syntax
|
||||||
|
Loading…
Reference in New Issue
Block a user