RE: [ANNOUNCE] kexec-tools-1.8

Fu, Michael (michael.fu@intel.com)
Tue, 14 Jan 2003 09:16:30 +0800


On 2002-12-02 at 04:41:34, Eric wrote:
>kexec-tools-1.8 is now available at :
>http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-1.8.tar.gz

I can't use the kexec program in the package to load a bzImage file. The
following simple patch make it work.

diff -ru kexec-tools-1.8-orig/kexec/kexec.c kexec-tools-1.8/kexec/kexec.c
--- kexec-tools-1.8-orig/kexec/kexec.c Mon Jan 13 11:21:28 2003
+++ kexec-tools-1.8/kexec/kexec.c Mon Jan 13 11:21:50 2003
@@ -159,7 +159,7 @@
}
for(i = 0; i < file_types; i++) {
if (type && (strcmp(type, file_type[i].name) != 0)) {
- break;
+ continue;
}
if (file_type[i].probe(fp_kernel) > 0) {
break;

Michael
Not speaking for Intel, options are my own.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/