kexec-tools: update to git version which has my uImage patch
[qi-bootmenu-system.git] / sources / patches / kexec-tools-fix-arch-detection.patch
blob7a11028f94ffa69dcdab2d52b3f19d7803a7771d
1 --- kexec-tools/kexec/phys_arch.c 2008-07-15 02:46:43.000000000 +0200
2 +++ kexec-tools-fixed/kexec/phys_arch.c 2009-11-16 22:09:00.000000000 +0100
3 @@ -14,7 +14,7 @@
6 for (i = 0; arches[i].machine; ++i)
7 - if (strcmp(utsname.machine, arches[i].machine) == 0)
8 + if (strstr(utsname.machine, arches[i].machine) == utsname.machine)
9 return arches[i].arch;
11 fprintf(stderr, "Unsupported machine type: %s\n",