<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/usr/Makefile, branch v3.9</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/usr/Makefile?h=v3.9</id>
<link rel='self' href='https://git.amat.us/linux/atom/usr/Makefile?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-01-13T16:03:25Z</updated>
<entry>
<title>decompressors: add boot-time XZ support</title>
<updated>2011-01-13T16:03:25Z</updated>
<author>
<name>Lasse Collin</name>
<email>lasse.collin@tukaani.org</email>
</author>
<published>2011-01-13T01:01:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3ebe12439ba7fc62e1d6ecb569b7287771716ca1'/>
<id>urn:sha1:3ebe12439ba7fc62e1d6ecb569b7287771716ca1</id>
<content type='text'>
This implements the API defined in &lt;linux/decompress/generic.h&gt; which is
used for kernel, initramfs, and initrd decompression.  This patch together
with the first patch is enough for XZ-compressed initramfs and initrd;
XZ-compressed kernel will need arch-specific changes.

The buffering requirements described in decompress_unxz.c are stricter
than with gzip, so the relevant changes should be done to the
arch-specific code when adding support for XZ-compressed kernel.
Similarly, the heap size in arch-specific pre-boot code may need to be
increased (30 KiB is enough).

The XZ decompressor needs memmove(), memeq() (memcmp() == 0), and
memzero() (memset(ptr, 0, size)), which aren't available in all
arch-specific pre-boot environments.  I'm including simple versions in
decompress_unxz.c, but a cleaner solution would naturally be nicer.

Signed-off-by: Lasse Collin &lt;lasse.collin@tukaani.org&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Alain Knaff &lt;alain@knaff.lu&gt;
Cc: Albin Tonnerre &lt;albin.tonnerre@free-electrons.com&gt;
Cc: Phillip Lougher &lt;phillip@lougher.demon.co.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>initramfs: generalize initramfs_data.xxx.S variants</title>
<updated>2010-09-29T14:28:59Z</updated>
<author>
<name>Hendrik Brueckner</name>
<email>brueckner@linux.vnet.ibm.com</email>
</author>
<published>2010-09-17T22:24:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6ae64e428f74e7bacab898ef9665dda719ea6fde'/>
<id>urn:sha1:6ae64e428f74e7bacab898ef9665dda719ea6fde</id>
<content type='text'>
Remove initramfs_data.{lzo,lzma,gz,bz2}.S variants and use a common
implementation in initramfs_data.S.  The common implementation expects the
file name of the initramfs to be defined in INITRAMFS_IMAGE.

Change the Makefile to set the INITRAMFS_IMAGE define symbol according
to the selected compression method.

Signed-off-by: Hendrik Brueckner &lt;brueckner@linux.vnet.ibm.com&gt;
Cc: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Acked-by: Michal Marek &lt;mmarek@suse.cz&gt;
Acked-by: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Hendrik Brueckner &lt;brueckner@linux.vnet.ibm.com&gt;
Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>initramfs: add support for in-kernel initramfs compressed with LZO</title>
<updated>2010-05-27T16:12:54Z</updated>
<author>
<name>Albin Tonnerre</name>
<email>albin.tonnerre@free-electrons.com</email>
</author>
<published>2010-05-26T21:44:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2a2a400f66e9e23eba960905c36dd37904bd9970'/>
<id>urn:sha1:2a2a400f66e9e23eba960905c36dd37904bd9970</id>
<content type='text'>
Add the necessary parts to be enable the use of LZO-compressed initramfs
build into the kernel.

Signed-off-by: Albin Tonnerre &lt;albin.tonnerre@free-electrons.com&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>kbuild: correct initramfs compression comment</title>
<updated>2009-09-20T10:27:41Z</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2009-07-05T13:46:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0bc9f9e63c0aa9c60ee309039d8f52708145ea4b'/>
<id>urn:sha1:0bc9f9e63c0aa9c60ee309039d8f52708145ea4b</id>
<content type='text'>
Fix the Makefile comment since bzip2 is now supported.

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>bzip2/lzma: quiet Kconfig warning for INITRAMFS_COMPRESSION_NONE</title>
<updated>2009-04-01T06:51:56Z</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2009-03-31T19:24:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1359096eacb1971be67eead8bf9b582864d92a30'/>
<id>urn:sha1:1359096eacb1971be67eead8bf9b582864d92a30</id>
<content type='text'>
Impact: quiet Kconfig warning

It appears that Kconfig simply has no way to provide defaults for
entries that exist inside a conditionalized choice block.
Fortunately, it turns out we don't actually ever use
CONFIG_INITRAMFS_COMPRESSION_NONE, so we can just drop it for
everything outside the choice block.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>bzip2/lzma: make internal initramfs compression configurable</title>
<updated>2009-02-19T21:43:51Z</updated>
<author>
<name>Alain Knaff</name>
<email>alain@knaff.lu</email>
</author>
<published>2009-02-19T21:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ab76f3d771590d5c89faa3219559c5d3fc0ce0c2'/>
<id>urn:sha1:ab76f3d771590d5c89faa3219559c5d3fc0ce0c2</id>
<content type='text'>
Impact: Avoids silent environment dependency

Make builtin initramfs compression an explicit configurable.  The
previous version would pick a compression based on the binaries which
were installed on the system, which could lead to unexpected results.
It is now explicitly configured, and not having the appropriate
binaries installed on the build host is simply an error.

Signed-off-by: Alain Knaff &lt;alain@knaff.lu&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bzip2/lzma: fix built-in initramfs vs CONFIG_RD_GZIP</title>
<updated>2009-01-07T08:10:27Z</updated>
<author>
<name>Alain Knaff</name>
<email>alain@knaff.lu</email>
</author>
<published>2009-01-07T08:10:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a26ee60f90daffe1de6be0d093af86e7279b3dfd'/>
<id>urn:sha1:a26ee60f90daffe1de6be0d093af86e7279b3dfd</id>
<content type='text'>
Impact: Resolves build failures in some configurations

Makes it possible to disable CONFIG_RD_GZIP . In that case, the
built-in initramfs will be compressed by whatever compressor is
available (bzip2 or lzma) or left uncompressed if none is available.

It also removes a couple of warnings which occur when no ramdisk
compression at all is chosen.

It also restores the select ZLIB_INFLATE in drivers/block/Kconfig
which somehow came missing. This is needed to activate compilation of
the stuff in zlib_deflate.

Signed-off-by: Alain Knaff &lt;alain@knaff.lu&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] disable init/initramfs.c</title>
<updated>2007-02-11T18:51:25Z</updated>
<author>
<name>Jean-Paul Saman</name>
<email>jean-paul.saman@nxp.com</email>
</author>
<published>2007-02-10T09:44:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c33df4eaaf41fd3e34837a6ae9a5f9970c393d9f'/>
<id>urn:sha1:c33df4eaaf41fd3e34837a6ae9a5f9970c393d9f</id>
<content type='text'>
The file init/initramfs.c is always compiled and linked in the kernel
vmlinux even when BLK_DEV_RAM and BLK_DEV_INITRD are disabled and the
system isn't using any form of an initramfs or initrd.  In this situation
the code is only used to unpack a (static) default initial rootfilesystem.
The current init/initramfs.c code.  usr/initramfs_data.o compiles to a size
of ~15 kbytes.  Disabling BLK_DEV_RAM and BLK_DEV_INTRD shrinks the kernel
code size with ~60 Kbytes.

This patch avoids compiling in the code and data for initramfs support if
CONFIG_BLK_DEV_INITRD is not defined.  Instead of the initramfs code and
data it uses a small routine in init/noinitramfs.c to setup an initial
static default environment for mounting a rootfilesystem later on in the
kernel initialisation process.  The new code is: 164 bytes of size.

The patch is separated in two parts:
1) doesn't compile initramfs code when CONFIG_BLK_DEV_INITRD is not set
2) changing all plaforms vmlinux.lds.S files to not reserve an area of
PAGE_SIZE when CONFIG_BLK_DEV_INITRD is not set.

[deweerdt@free.fr: warning fix]
Signed-off-by: Jean-Paul Saman &lt;jean-paul.saman@nxp.com&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: &lt;linux-arch@vger.kernel.org&gt;
Signed-off-by: Frederik Deweerdt &lt;frederik.deweerdt@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] initramfs: handle more than one source dir or file list</title>
<updated>2006-11-25T21:28:33Z</updated>
<author>
<name>Thomas Chou</name>
<email>thomas@wytron.com.tw</email>
</author>
<published>2006-11-25T19:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a26d79ca81d6e46c445c8db87a89740c9b4d17e9'/>
<id>urn:sha1:a26d79ca81d6e46c445c8db87a89740c9b4d17e9</id>
<content type='text'>
Fix bug 7401.

Handle more than one source dir or file list to the initramfs gen scripts.

The Kconfig help for INITRAMFS_SOURCE claims that you can specify multiple
space-separated sources in order to allow unprivileged users to build an
image.  There are two bugs in the current implementation that prevent this
from working.

First, we pass "file1 dir2" to the gen_initramfs_list.sh script, which it
obviously can't open.

Second, gen_initramfs_list.sh -l outputs multiple definitions for
deps_initramfs -- one for each argument.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Acked-by: Matthew Wilcox &lt;matthew@wil.cx&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>kbuild: consistently decide when to rebuild a target</title>
<updated>2006-09-25T07:00:00Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-23T17:37:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=48f1f0589dd09df6ea07d41c737db3218ad2cb79'/>
<id>urn:sha1:48f1f0589dd09df6ea07d41c737db3218ad2cb79</id>
<content type='text'>
Consistently decide when to rebuild a target across all of
if_changed, if_changed_dep, if_changed_rule.
PHONY targets are now treated alike (ignored) for all targets

While add it make Kbuild.include almost readable by factoring out a few
bits to some common variables and reuse this in Makefile.build.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
</feed>
