<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/scripts/extract-ikconfig, branch v6.6.132</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2022-08-29T04:58:47+00:00</updated>
<entry>
<title>scripts/extract-ikconfig: add zstd compression support</title>
<updated>2022-08-29T04:58:47+00:00</updated>
<author>
<name>Thitat Auareesuksakul</name>
<email>thitat@flux.ci</email>
</author>
<published>2022-08-24T20:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c11efc57d4ccca47c5cf89341c4500acbb2c7599'/>
<id>urn:sha1:c11efc57d4ccca47c5cf89341c4500acbb2c7599</id>
<content type='text'>
Add extract-ikconfig support for kernel images compressed with zstd.

Signed-off-by: Thitat Auareesuksakul &lt;thitat@flux.ci&gt;
Tested-by: Nicolas Schier &lt;n.schier@avm.de&gt;
Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
</content>
</entry>
<entry>
<title>scripts/extract-ikconfig: Support LZ4-compressed images.</title>
<updated>2015-04-15T12:01:12+00:00</updated>
<author>
<name>Alex Pilon</name>
<email>alp+linux@alexpilon.ca</email>
</author>
<published>2015-04-14T04:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=99b2cdde83726a89daadbfd1264fb9a3b91eed0b'/>
<id>urn:sha1:99b2cdde83726a89daadbfd1264fb9a3b91eed0b</id>
<content type='text'>
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 &lt;alp+linux@alexpilon.ca&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>scripts/extract-ikconfig: add xz compression support</title>
<updated>2011-02-10T14:23:03+00:00</updated>
<author>
<name>Dick Streefland</name>
<email>dick@streefland.net</email>
</author>
<published>2011-01-23T23:44:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ab94e4666d5cee0e393367671eeab4111105bffb'/>
<id>urn:sha1:ab94e4666d5cee0e393367671eeab4111105bffb</id>
<content type='text'>
Add support for kernels compressed with xz to the extract-ikconfig script.

Signed-off-by: Dick Streefland &lt;dick@streefland.net&gt;
Acked-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>scripts/extract-ikconfig: add support for bzip2, lzma and lzo</title>
<updated>2010-10-27T22:22:17+00:00</updated>
<author>
<name>Dick Streefland</name>
<email>dick@streefland.net</email>
</author>
<published>2010-10-22T22:02:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=532cf2907ac3b9c2345d76251764f4f4e602c921'/>
<id>urn:sha1:532cf2907ac3b9c2345d76251764f4f4e602c921</id>
<content type='text'>
Add support for kernels compressed with bzip2, lzma or lzo to the
extract-ikconfig script.

Fixes kernel bugzilla #19852:
https://bugzilla.kernel.org/show_bug.cgi?id=19852

Signed-off-by: Dick Streefland &lt;dick@streefland.net&gt;
Tested-by: Justin &lt;jlec@gentoo.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: simplification of scripts/extract-ikconfig</title>
<updated>2009-10-07T15:44:18+00:00</updated>
<author>
<name>Dick Streefland</name>
<email>dick@streefland.net</email>
</author>
<published>2009-10-06T20:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7b76bfc86757ca5e7b0a62f50003752da77c115b'/>
<id>urn:sha1:7b76bfc86757ca5e7b0a62f50003752da77c115b</id>
<content type='text'>
I've rewritten the extract-ikconfig script to extract the kernel
configuration from a kernel compiled with CONFIG_IKCONFIG. The main
motivation for the rewrite was to remove the dependency on the
external C program binoffset.c, which is compiled on the initial run.

The binoffset executable is invoked with a relative path, which means
that the old script can only be run from the top of the kernel tree,
and only when you have write permission in the scripts directory.

The new script uses tr/grep/tail/zcat only, and can be invoked from
anywhere. The binoffset.c program has been removed. This script
requires GNU grep 2.5 (released 2002-03-13) or higher, because the -o
option was introduced in that version.

Signed-off-by: Dick Streefland &lt;dick@streefland.net&gt;
LKML-Reference: &lt;20091006203540.GA14634@streefland.net&gt;
Tested-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: have extract-ikconfig read ELF files</title>
<updated>2009-08-19T02:00:18+00:00</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2009-04-30T16:22:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6be51ffc1791b72d11cef9bb0a578fe8c5d64c6a'/>
<id>urn:sha1:6be51ffc1791b72d11cef9bb0a578fe8c5d64c6a</id>
<content type='text'>
It would be nice to use extract-ikconfig to find the congfig.gz
in either vmlinux (not vmlinuz) or configs.ko.

This patch changes the script to also be able to read ELF files directly.

[ Impact: find config.gz in vmlinux and configs.ko ]

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: add check if end exists in extract-ikconfig</title>
<updated>2009-08-19T01:59:26+00:00</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2009-04-30T16:19:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fd3132d5815bf72aeec7d5ad87161b4831f8e48c'/>
<id>urn:sha1:fd3132d5815bf72aeec7d5ad87161b4831f8e48c</id>
<content type='text'>
Both start and end should be tested for existence before continuing
to parse the config.gz file.

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>remove bashisms from scripts/extract-ikconfig</title>
<updated>2008-12-03T20:32:02+00:00</updated>
<author>
<name>Werner Almesberger</name>
<email>werner@openmoko.org</email>
</author>
<published>2008-11-12T18:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=efddd79512cc582675004bfdf7e66585198b38f9'/>
<id>urn:sha1:efddd79512cc582675004bfdf7e66585198b38f9</id>
<content type='text'>
unbashify-extract-ikconfig.patch

scripts/extract-ikconfig contains a lot of gratuituous bashisms,
which make it fail if /bin/sh isn't bash. This patch replaces them
with regular Bourne shell constructs.

Signed-off-by: Werner Almesberger &lt;werner@openmoko.org&gt;
Acked-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt; # as file author
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] extract-ikconfig: don't use --long-options</title>
<updated>2006-03-24T15:33:21+00:00</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2006-03-24T11:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=008accbbae6b2f18c2039d563f28d46ff4388d36'/>
<id>urn:sha1:008accbbae6b2f18c2039d563f28d46ff4388d36</id>
<content type='text'>
Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] extract-ikconfig: be sure binoffset exists before extracting</title>
<updated>2006-03-24T15:33:21+00:00</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2006-03-24T11:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ff45e99dcd31e1810a9892ce28190bff262e4e12'/>
<id>urn:sha1:ff45e99dcd31e1810a9892ce28190bff262e4e12</id>
<content type='text'>
Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
