scripts/extract-ikconfig: add zstd compression support
PATCH 1/1 scripts/extract-ikconfig: add zstd compression support
Add extract-ikconfig support for kernel images compressed with zstd.
Signed-off-by Thitat Auareesuksakul <[email protected]>
--- scripts/extract-ikconfig | 1 + 1 file changed, 1 insertion(+)
scripts/extract-ikconfig +1 -0
@@ -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
Signature · 1 line
2.37.2
Quoted 4 lines · Thitat Auareesuksakul
Add extract-ikconfig support for kernel images compressed with zstd.
Signed-off-by Thitat Auareesuksakul <[email protected]>---
Tested-by Nicolas Schier <[email protected]>
Quoted 18 lines
scripts/extract-ikconfig | 1 + 1 file changed, 1 insertion(+)scripts/extract-ikconfig +1
-0@@ -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." >&2Signature · 1 line
2.37.2
Quoted 22 lines · Nicolas Schier
Quoted 4 lines · Thitat Auareesuksakul
Add extract-ikconfig support for kernel images compressed with zstd.
Signed-off-by Thitat Auareesuksakul <[email protected]>---
Tested-by Nicolas Schier <[email protected]>Quoted 13 lines
scripts/extract-ikconfig | 1 + 1 file changed, 1 insertion(+)scripts/extract-ikconfig +1
-0@@ -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
Quoted 5 lines
Quoted 5 lines
scripts/extract-ikconfig +0
-1# Bail out: echo "$me: Cannot find kernel config." >&2 --2.37.2
Applied to linux-kbuild. Thanks.
Signature · 2 lines
Best Regards Masahiro Yamada