checking in ppc fixups
This commit is contained in:
parent
11ba28c4df
commit
af6d8c00ad
10
kexec-tools-1.101-ppc-fixup.patch
Normal file
10
kexec-tools-1.101-ppc-fixup.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- kexec-tools-1.101/kexec/arch/ppc/kexec-ppc.c.orig 2006-07-05 16:21:50.000000000 -0400
|
||||||
|
+++ kexec-tools-1.101/kexec/arch/ppc/kexec-ppc.c 2006-07-05 16:22:01.000000000 -0400
|
||||||
|
@@ -33,7 +33,6 @@ int get_memory_ranges(struct memory_rang
|
||||||
|
memory_range[memory_ranges].type = RANGE_RAM;
|
||||||
|
memory_ranges++;
|
||||||
|
#else
|
||||||
|
-#error Please, fix this for your platform
|
||||||
|
const char iomem[] = "/proc/iomem";
|
||||||
|
char line[MAX_LINE];
|
||||||
|
FILE *fp;
|
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 1.101
|
Version: 1.101
|
||||||
Release: 28%{dist}
|
Release: 29%{dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
Summary: The kexec/kdump userspace component.
|
||||||
@ -36,7 +36,15 @@ Patch301: kexec-ppc64-ingnore-args-linux.patch
|
|||||||
#
|
#
|
||||||
Patch401: kexec-tools-1.101-s390-fixup.patch
|
Patch401: kexec-tools-1.101-s390-fixup.patch
|
||||||
|
|
||||||
Patch501: kexec-tools-1.101-Makefile.patch
|
#
|
||||||
|
# Patches 501 through 600 are meant for ppc kexec-tools enablement
|
||||||
|
#
|
||||||
|
Patch501: kexec-tools-1.101-ppc-fixup.patch
|
||||||
|
|
||||||
|
#
|
||||||
|
# Patches 601 onward are generic patches
|
||||||
|
#
|
||||||
|
Patch601: kexec-tools-1.101-Makefile.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
kexec-tools provides /sbin/kexec binary that facilitates a new
|
kexec-tools provides /sbin/kexec binary that facilitates a new
|
||||||
@ -54,6 +62,7 @@ rm -f ../kexec-tools-1.101.spec
|
|||||||
%patch301 -p1
|
%patch301 -p1
|
||||||
%patch401 -p1
|
%patch401 -p1
|
||||||
%patch501 -p1
|
%patch501 -p1
|
||||||
|
%patch601 -p1
|
||||||
|
|
||||||
cp $RPM_SOURCE_DIR/kdump.init .
|
cp $RPM_SOURCE_DIR/kdump.init .
|
||||||
cp $RPM_SOURCE_DIR/kdump.sysconfig .
|
cp $RPM_SOURCE_DIR/kdump.sysconfig .
|
||||||
|
Loading…
Reference in New Issue
Block a user