lkml.org 
[lkml]   [2021]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] scripts: extract-ikconfig: add support for unzstd
the script doesn't work on newer bzImages without unzstd decompression

Signed-off-by: Nour-eddine Taleb <1337.noureddine@gmail.com>
---
scripts/extract-ikconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
index 3b42f255e2ba..62b84d6d17e4 100755
--- a/scripts/extract-ikconfig
+++ b/scripts/extract-ikconfig
@@ -61,7 +61,8 @@ try_decompress '\3757zXZ\000' abcde unxz
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 '\002!L\030' xxx 'lz4 -d'
+try_decompress '(\265/\375' xxx unzstd

# Bail out:
echo "$me: Cannot find kernel config." >&2
--
2.31.1
\
 
 \ /
  Last update: 2021-06-06 11:07    [W:0.154 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site