All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scripts: extract-ikconfig: add support for unzstd
@ 2021-06-06  9:04 Nour-eddine Taleb
  0 siblings, 0 replies; only message in thread
From: Nour-eddine Taleb @ 2021-06-06  9:04 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-06  9:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-06  9:04 [PATCH] scripts: extract-ikconfig: add support for unzstd Nour-eddine Taleb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.