diff options
| author | Adam Borowski <kilobyte@angband.pl> | 2018-07-06 20:15:48 -0400 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-07 20:32:32 -0400 |
| commit | 47a18a2dabba99c749b88867a9eef7ca48058e92 (patch) | |
| tree | aae65b22b27cae25dad70812b5cc1b98eb82ca30 | |
| parent | 6916162c7308332d5a029521821f925466de311d (diff) | |
scripts: teach extract-vmlinux about LZ4 and ZSTD
Note that the LZ4 signature is different than that of modern LZ4 as we
use the "legacy" format which suffers from some downsides like inability
to disable compression.
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
| -rwxr-xr-x | scripts/extract-vmlinux | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/extract-vmlinux b/scripts/extract-vmlinux index 5061abcc2540..e6239f39abad 100755 --- a/scripts/extract-vmlinux +++ b/scripts/extract-vmlinux | |||
| @@ -57,6 +57,8 @@ try_decompress '\3757zXZ\000' abcde unxz | |||
| 57 | try_decompress 'BZh' xy bunzip2 | 57 | try_decompress 'BZh' xy bunzip2 |
| 58 | try_decompress '\135\0\0\0' xxx unlzma | 58 | try_decompress '\135\0\0\0' xxx unlzma |
| 59 | try_decompress '\211\114\132' xy 'lzop -d' | 59 | try_decompress '\211\114\132' xy 'lzop -d' |
| 60 | try_decompress '\002!L\030' xxx 'lz4 -d' | ||
| 61 | try_decompress '(\265/\375' xxx unzstd | ||
| 60 | 62 | ||
| 61 | # Bail out: | 63 | # Bail out: |
| 62 | echo "$me: Cannot find vmlinux." >&2 | 64 | echo "$me: Cannot find vmlinux." >&2 |
