commit | 281b9af9c6ee8dd1bacccff20d7c8b15403ac52e | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Thu Jul 17 14:22:26 2014 +0200 |
committer | David 'Digit' Turner <digit@google.com> | Thu Jul 17 14:58:24 2014 +0200 |
tree | 03a3c7c4bc54a785501d2462ec3cc9a63aad68c3 | |
parent | a8a15bf065fdab36f75430919b5d7a7c7fc7e12e [diff] |
android/kernel/kernel_utils.c: Support probing version for ARM64 kernel images. The ARM64 kernel images are not compressed but contain a GZip header that appears _after_ the actual 'Linux version ' string. This patch modifies the probing code to handle this gracefully. + Update unit tests. Change-Id: Id486e9ba29c894bc6f7f863789f120c7c8ab22a0