diff options
author | Thitat Auareesuksakul <thitat@flux.ci> | 2022-08-24 22:03:40 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-08-29 06:58:47 +0200 |
commit | c11efc57d4ccca47c5cf89341c4500acbb2c7599 (patch) | |
tree | c4c595ad5e75770b612b4a139703f1c9def3c21c /scripts/extract-ikconfig | |
parent | scripts: remove obsolete gcc-ld script (diff) | |
download | linux-c11efc57d4ccca47c5cf89341c4500acbb2c7599.tar.xz linux-c11efc57d4ccca47c5cf89341c4500acbb2c7599.zip |
scripts/extract-ikconfig: add zstd compression support
Add extract-ikconfig support for kernel images compressed with zstd.
Signed-off-by: Thitat Auareesuksakul <thitat@flux.ci>
Tested-by: Nicolas Schier <n.schier@avm.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/extract-ikconfig')
-rwxr-xr-x | scripts/extract-ikconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig index 3b42f255e2ba..8df33e7d6daa 100755 --- a/scripts/extract-ikconfig +++ b/scripts/extract-ikconfig @@ -62,6 +62,7 @@ try_decompress 'BZh' xy bunzip2 try_decompress '\135\0\0\0' xxx unlzma try_decompress '\211\114\132' xy 'lzop -d' try_decompress '\002\041\114\030' xyy 'lz4 -d -l' +try_decompress '\050\265\057\375' xxx unzstd # Bail out: echo "$me: Cannot find kernel config." >&2 |