RE: [ANNOUNCE] kexec-tools-1.8

From: Fu, Michael (michael.fu@intel.com)
Date: Mon Jan 13 2003 - 20:16:30 EST


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/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:48 EST