* scripts/extract-ikconfig only works on uncompressed and CONFIG_KERNEL_GZIP kernels
@ 2010-10-18 0:48 Alex Elsayed
2010-10-18 1:42 ` Randy Dunlap
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Alex Elsayed @ 2010-10-18 0:48 UTC (permalink / raw)
To: linux-kernel
I have a kernel that was compiled with LZMA compression (CONFIG_KERNEL_LZMA). I
wish to extract the .config from it without running it, but the script to do so
does not support such kernels. How could I go about fixing this, so that the
script supports other compression modes than just gzip?
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: scripts/extract-ikconfig only works on uncompressed and CONFIG_KERNEL_GZIP kernels
2010-10-18 0:48 scripts/extract-ikconfig only works on uncompressed and CONFIG_KERNEL_GZIP kernels Alex Elsayed
@ 2010-10-18 1:42 ` Randy Dunlap
2010-10-18 1:48 ` Alex Elsayed
2010-10-18 1:45 ` Alex Elsayed
2010-10-18 2:43 ` Américo Wang
2 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2010-10-18 1:42 UTC (permalink / raw)
To: Alex Elsayed; +Cc: linux-kernel
On Mon, 18 Oct 2010 00:48:46 +0000 (UTC) Alex Elsayed wrote:
> I have a kernel that was compiled with LZMA compression (CONFIG_KERNEL_LZMA). I
> wish to extract the .config from it without running it, but the script to do so
> does not support such kernels. How could I go about fixing this, so that the
> script supports other compression modes than just gzip?
Please test the patch from Dick Streefland at
https://bugzilla.kernel.org/show_bug.cgi?id=19852
and report how it works for you.
thanks,
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: scripts/extract-ikconfig only works on uncompressed and CONFIG_KERNEL_GZIP kernels
2010-10-18 0:48 scripts/extract-ikconfig only works on uncompressed and CONFIG_KERNEL_GZIP kernels Alex Elsayed
2010-10-18 1:42 ` Randy Dunlap
@ 2010-10-18 1:45 ` Alex Elsayed
2010-10-18 2:43 ` Américo Wang
2 siblings, 0 replies; 5+ messages in thread
From: Alex Elsayed @ 2010-10-18 1:45 UTC (permalink / raw)
To: linux-kernel
Alex Elsayed <eternaleye <at> gmail.com> writes:
>
> I have a kernel that was compiled with LZMA compression (CONFIG_KERNEL_LZMA). I
> wish to extract the .config from it without running it, but the script to do so
> does not support such kernels. How could I go about fixing this, so that the
> script supports other compression modes than just gzip?
>
>
I managed to extract the .config by abusing dd's skip= parameter to try feeding
every byte-offset to unlzma, but I am still interested in making the script work
with non-gzipped compressed kernels.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: scripts/extract-ikconfig only works on uncompressed and CONFIG_KERNEL_GZIP kernels
2010-10-18 0:48 scripts/extract-ikconfig only works on uncompressed and CONFIG_KERNEL_GZIP kernels Alex Elsayed
2010-10-18 1:42 ` Randy Dunlap
2010-10-18 1:45 ` Alex Elsayed
@ 2010-10-18 2:43 ` Américo Wang
2 siblings, 0 replies; 5+ messages in thread
From: Américo Wang @ 2010-10-18 2:43 UTC (permalink / raw)
To: Alex Elsayed; +Cc: linux-kernel
On Mon, Oct 18, 2010 at 12:48:46AM +0000, Alex Elsayed wrote:
>I have a kernel that was compiled with LZMA compression (CONFIG_KERNEL_LZMA). I
>wish to extract the .config from it without running it, but the script to do so
>does not support such kernels. How could I go about fixing this, so that the
>script supports other compression modes than just gzip?
>
I am not surprised at all, that program looks for gzip signature,
which is gzip only apparently. :)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-10-18 2:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-18 0:48 scripts/extract-ikconfig only works on uncompressed and CONFIG_KERNEL_GZIP kernels Alex Elsayed
2010-10-18 1:42 ` Randy Dunlap
2010-10-18 1:48 ` Alex Elsayed
2010-10-18 1:45 ` Alex Elsayed
2010-10-18 2:43 ` Américo Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox