Re: scripts/extract-ikconfig only works on uncompressed and CONFIG_KERNEL_GZIP kernels

From: Alex Elsayed
Date: Sun Oct 17 2010 - 21:45:38 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/