diff --git a/kexec-tools-1.101-page_h.patch b/kexec-tools-1.101-page_h.patch new file mode 100644 index 0000000..a07a579 --- /dev/null +++ b/kexec-tools-1.101-page_h.patch @@ -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 + #include + #include +-#include + #include + #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); diff --git a/kexec-tools.spec b/kexec-tools.spec index ec4f6af..1cbeefd 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 1.101 -Release: 49%{?dist} +Release: 50%{?dist} License: GPL Group: Applications/System 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 Patch605: kexec-tools-1.101-add-makedumpfile2.patch Patch606: kexec-tools-1.101-makedumpfile-archbuild.patch +Patch607: kexec-tools-1.101-page_h.patch %description kexec-tools provides /sbin/kexec binary that facilitates a new @@ -91,6 +92,7 @@ tar -C makedumpfile -z -x -v -f %{SOURCE7} %patch604 -p1 %patch605 -p1 %patch606 -p1 +%patch607 -p1 %build %configure \ @@ -157,6 +159,9 @@ exit 0 %doc TODO %changelog +* Mon Aug 28 2006 Neil Horman - 1.101-50%{dist} +- updating to build without need for asm/page.h on x86_64 + * Thu Aug 24 2006 Neil Horman - 1.101-49%{dist} - rewriting kcp to properly do ssh and scp - updating mkdumprd to use new kcp syntax