* [PATCH] scripts/extract-ikconfig: add zstd compression support
@ 2022-08-24 20:03 Thitat Auareesuksakul
2022-08-25 7:21 ` Nicolas Schier
0 siblings, 1 reply; 3+ messages in thread
From: Thitat Auareesuksakul @ 2022-08-24 20:03 UTC (permalink / raw)
To: linux-kbuild
Cc: Thitat Auareesuksakul, Masahiro Yamada, Michal Marek,
Nick Desaulniers, linux-kernel
Add extract-ikconfig support for kernel images compressed with zstd.
Signed-off-by: Thitat Auareesuksakul <thitat@flux.ci>
---
| 1 +
1 file changed, 1 insertion(+)
--git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
index 3b42f255e2ba..8df33e7d6daa 100755
--- a/scripts/extract-ikconfig
+++ b/scripts/extract-ikconfig
@@ -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
--
2.37.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts/extract-ikconfig: add zstd compression support
2022-08-24 20:03 [PATCH] scripts/extract-ikconfig: add zstd compression support Thitat Auareesuksakul
@ 2022-08-25 7:21 ` Nicolas Schier
2022-08-27 14:32 ` Masahiro Yamada
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Schier @ 2022-08-25 7:21 UTC (permalink / raw)
To: Thitat Auareesuksakul
Cc: linux-kbuild, Masahiro Yamada, Michal Marek, Nick Desaulniers,
linux-kernel
On Thu, Aug 25, 2022 at 03:03:40AM +0700, Thitat Auareesuksakul wrote:
> Add extract-ikconfig support for kernel images compressed with zstd.
>
> Signed-off-by: Thitat Auareesuksakul <thitat@flux.ci>
> ---
Tested-by: Nicolas Schier <n.schier@avm.de>
> scripts/extract-ikconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
> index 3b42f255e2ba..8df33e7d6daa 100755
> --- a/scripts/extract-ikconfig
> +++ b/scripts/extract-ikconfig
> @@ -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
> --
> 2.37.2
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts/extract-ikconfig: add zstd compression support
2022-08-25 7:21 ` Nicolas Schier
@ 2022-08-27 14:32 ` Masahiro Yamada
0 siblings, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2022-08-27 14:32 UTC (permalink / raw)
To: Nicolas Schier
Cc: Thitat Auareesuksakul, Linux Kbuild mailing list, Michal Marek,
Nick Desaulniers, Linux Kernel Mailing List
On Thu, Aug 25, 2022 at 4:22 PM Nicolas Schier <n.schier@avm.de> wrote:
>
> On Thu, Aug 25, 2022 at 03:03:40AM +0700, Thitat Auareesuksakul wrote:
> > Add extract-ikconfig support for kernel images compressed with zstd.
> >
> > Signed-off-by: Thitat Auareesuksakul <thitat@flux.ci>
> > ---
>
> Tested-by: Nicolas Schier <n.schier@avm.de>
>
> > scripts/extract-ikconfig | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
> > index 3b42f255e2ba..8df33e7d6daa 100755
> > --- a/scripts/extract-ikconfig
> > +++ b/scripts/extract-ikconfig
> > @@ -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
> > --
> > 2.37.2
> >
Applied to linux-kbuild. Thanks.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-27 14:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-24 20:03 [PATCH] scripts/extract-ikconfig: add zstd compression support Thitat Auareesuksakul
2022-08-25 7:21 ` Nicolas Schier
2022-08-27 14:32 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox