From: Nour-eddine Taleb <kernel.noureddine@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Nour-eddine Taleb <kernel.noureddine@gmail.com>
Subject: [PATCH] scripts:extract-ikconfig: add support for zstd compression
Date: Sun, 5 Dec 2021 21:18:31 +0100 [thread overview]
Message-ID: <20211205201831.115815-1-kernel.noureddine@gmail.com> (raw)
update the script to accept kernel images that are using zstd compression.
Signed-off-by: Nour-eddine Taleb <kernel.noureddine@gmail.com>
---
| 2 ++
1 file changed, 2 insertions(+)
--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
next reply other threads:[~2021-12-05 20:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-05 20:18 Nour-eddine Taleb [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-21 15:06 [PATCH] scripts:extract-ikconfig: add support for zstd compression Nour-eddine Taleb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211205201831.115815-1-kernel.noureddine@gmail.com \
--to=kernel.noureddine@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox