linux-2.6.4 has different code in head.S
committer: jreiser <jreiser> 1079655854 +0000
This commit is contained in:
+2
-1
@@ -199,7 +199,8 @@ int PackVmlinuzI386::decompressKernel()
|
|||||||
throwCantPack("trailing bytes after kernel image; use option `-f' to force packing");
|
throwCantPack("trailing bytes after kernel image; use option `-f' to force packing");
|
||||||
}
|
}
|
||||||
// see /usr/src/linux/arch/i386/kernel/head.S:
|
// see /usr/src/linux/arch/i386/kernel/head.S:
|
||||||
if (memcmp(ibuf, "\xFC\xB8", 2) != 0)
|
if (memcmp(ibuf, "\xFC\xB8", 2) != 0
|
||||||
|
&& memcmp(ibuf, "\xFC\x0F\x01", 3) != 0 )
|
||||||
throwCantPack("unrecognized kernel architecture; use option `-f' to force packing");
|
throwCantPack("unrecognized kernel architecture; use option `-f' to force packing");
|
||||||
|
|
||||||
// FIXME: more checks for special magic bytes in ibuf ???
|
// FIXME: more checks for special magic bytes in ibuf ???
|
||||||
|
|||||||
Reference in New Issue
Block a user