* [PATCH] scripts/extract-ikconfig: Support LZ4-compressed images.
@ 2015-04-14 4:38 Alex Pilon
2015-04-15 12:08 ` Michal Marek
0 siblings, 1 reply; 2+ messages in thread
From: Alex Pilon @ 2015-04-14 4:38 UTC (permalink / raw)
To: linux-kernel
Support for kernel image LZ4 compression was added around 3.11, but not
the corresponding kernel .config extraction.
This makes possible extracting the kernel config for LZ4-compressed
kernels you're not running, or the current LZ4-compressed kernel if
compiled without /proc/config.gz support.
Signed-off-by: Alex Pilon <alp+linux@alexpilon.ca>
---
| 1 +
1 file changed, 1 insertion(+)
--git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
index e186242..3b42f25 100755
--- a/scripts/extract-ikconfig
+++ b/scripts/extract-ikconfig
@@ -61,6 +61,7 @@ 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'
# Bail out:
echo "$me: Cannot find kernel config." >&2
--
2.3.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scripts/extract-ikconfig: Support LZ4-compressed images.
2015-04-14 4:38 [PATCH] scripts/extract-ikconfig: Support LZ4-compressed images Alex Pilon
@ 2015-04-15 12:08 ` Michal Marek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2015-04-15 12:08 UTC (permalink / raw)
To: Alex Pilon; +Cc: linux-kernel
On Tue, Apr 14, 2015 at 12:38:33AM -0400, Alex Pilon wrote:
> Support for kernel image LZ4 compression was added around 3.11, but not
> the corresponding kernel .config extraction.
>
> This makes possible extracting the kernel config for LZ4-compressed
> kernels you're not running, or the current LZ4-compressed kernel if
> compiled without /proc/config.gz support.
>
> Signed-off-by: Alex Pilon <alp+linux@alexpilon.ca>
Applied to kbuild.git#misc.
Michal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-15 12:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14 4:38 [PATCH] scripts/extract-ikconfig: Support LZ4-compressed images Alex Pilon
2015-04-15 12:08 ` Michal Marek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox