Disable kexec_test

This commit is contained in:
Cong Wang 2012-01-21 16:56:07 +08:00
parent c0742d742a
commit 8e0b475887
3 changed files with 22 additions and 3 deletions

View File

@ -0,0 +1,17 @@
diff --git kexec-tools-2.0.3/kexec_test/Makefile kexec-tools-2.0.3/kexec_test/Makefile
index fec6210..2ed4d51 100644
--- kexec-tools-2.0.3/kexec_test/Makefile
+++ kexec-tools-2.0.3/kexec_test/Makefile
@@ -8,12 +8,6 @@ dist += kexec_test/Makefile $(KEXEC_TEST_SRCS) \
kexec_test/x86-setup-legacy-pic.S
BUILD_KEXEC_TEST = no
-ifeq ($(ARCH),i386)
-BUILD_KEXEC_TEST = yes
-endif
-ifeq ($(ARCH),x86_64)
-BUILD_KEXEC_TEST = yes
-endif
ifeq ($(BUILD_KEXEC_TEST),yes)

View File

@ -1,5 +1,5 @@
--- kexec-tools-2.0.1/makedumpfile-1.4.1/Makefile.orig 2009-11-11 08:44:51.000000000 +0800
+++ kexec-tools-2.0.1/makedumpfile-1.4.1/Makefile 2010-05-30 00:25:17.350869858 +0800
--- kexec-tools-2.0.3/makedumpfile-1.4.1/Makefile.orig 2009-11-11 08:44:51.000000000 +0800
+++ kexec-tools-2.0.3/makedumpfile-1.4.1/Makefile 2010-05-30 00:25:17.350869858 +0800
@@ -38,7 +38,7 @@ $(OBJ_ARCH): $(SRC_ARCH)
$(CC) $(CFLAGS_ARCH) -c -o ./$@ ./$(@:.o=.c)

View File

@ -71,7 +71,8 @@ Obsoletes: diskdumputils netdump
#
# Patches 601 onward are generic patches
#
Patch601: kexec-tools-2.0.0-makedumpfile-dynamic-build.patch
Patch601: kexec-tools-2.0.3-makedumpfile-dynamic-build.patch
Patch602: kexec-tools-2.0.3-disable-kexec-test.patch
%description
kexec-tools provides /sbin/kexec binary that facilitates a new
@ -88,6 +89,7 @@ tar -z -x -v -f %{SOURCE9}
%patch601 -p1
%patch602 -p1
tar -z -x -v -f %{SOURCE13}