linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scripts:extract-ikconfig: add support for zstd compression
@ 2021-11-21 15:06 Nour-eddine Taleb
  0 siblings, 0 replies; 2+ messages in thread
From: Nour-eddine Taleb @ 2021-11-21 15:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: Nour-eddine Taleb

update the to accept kernel images using zstd compression.

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

diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
index 3b42f255e2ba..5cbf6f1d7f56 100755
--- a/scripts/extract-ikconfig
+++ b/scripts/extract-ikconfig
@@ -62,6 +62,8 @@ 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.33.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] scripts:extract-ikconfig: add support for zstd compression
@ 2021-12-05 20:18 Nour-eddine Taleb
  0 siblings, 0 replies; 2+ messages in thread
From: Nour-eddine Taleb @ 2021-12-05 20:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: Nour-eddine Taleb

update the script to accept kernel images that are using zstd compression.

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

diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
index 3b42f255e2ba..5cbf6f1d7f56 100755
--- a/scripts/extract-ikconfig
+++ b/scripts/extract-ikconfig
@@ -62,6 +62,8 @@ 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.33.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-05 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-21 15:06 [PATCH] scripts:extract-ikconfig: add support for zstd compression Nour-eddine Taleb
2021-12-05 20:18 Nour-eddine Taleb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).