<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot-novena/fs, branch 2010.08</title>
<subtitle>build system for the novena open hardware laptop board</subtitle>
<id>https://git.bnewbold.net/buildroot-novena/atom?h=2010.08</id>
<link rel='self' href='https://git.bnewbold.net/buildroot-novena/atom?h=2010.08'/>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/'/>
<updated>2010-08-31T19:53:40+00:00</updated>
<entry>
<title>fs/squashfs: fix image file permissions</title>
<updated>2010-08-31T19:53:40+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2010-08-31T19:53:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=3975e30b991d42d4cc153b738742f962d8fda757'/>
<id>urn:sha1:3975e30b991d42d4cc153b738742f962d8fda757</id>
<content type='text'>
Set image file permissions to 0644 like it was before the fs rework,
instead of the rather unhelpful 0700 (E.G. when image is used for tftp).

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>Add JFFS2 SREC format description</title>
<updated>2010-08-30T21:37:20+00:00</updated>
<author>
<name>Yegor Yefremov</name>
<email>yegorslists@googlemail.com</email>
</author>
<published>2010-08-30T14:12:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=31aa331d34a67dd5a819d9a78aa0e265ff0b8bf3'/>
<id>urn:sha1:31aa331d34a67dd5a819d9a78aa0e265ff0b8bf3</id>
<content type='text'>
Add JFFS2 SREC format description

Signed-off-by: Yegor Yefremov &lt;yegorslists@googlemail.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>initramfs: Don't overwrite $(TARGET_DIR)/init if it exists</title>
<updated>2010-08-29T21:34:03+00:00</updated>
<author>
<name>Simon Pasch</name>
<email>fpasch@googlemail.com</email>
</author>
<published>2010-08-29T21:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=c4cdcc3680c5dc551fa563b2133ca83c55967495'/>
<id>urn:sha1:c4cdcc3680c5dc551fa563b2133ca83c55967495</id>
<content type='text'>
Closes #2443

Allow use of custom init scripts.

Signed-off-by: Simon Pasch &lt;fpasch@googlemail.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>fs/squashfs: fix endianness typo for squashfs3</title>
<updated>2010-08-27T15:00:39+00:00</updated>
<author>
<name>Stanislav Bogatyrev</name>
<email>bogatyrev_stanislav@gmail.com</email>
</author>
<published>2010-08-27T15:00:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=62b4c67b094131db9d1f715a5cef0fd042396338'/>
<id>urn:sha1:62b4c67b094131db9d1f715a5cef0fd042396338</id>
<content type='text'>
Signed-off-by: Stanislav Bogatyrev &lt;bogatyrev_stanislav@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>fs: add option to define path to custom rootfs skeleton</title>
<updated>2010-07-18T21:15:55+00:00</updated>
<author>
<name>Dmytro Milinevskyy</name>
<email>milinevskyy@gmail.com</email>
</author>
<published>2010-06-16T20:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=2b3a43f4e336d1af90200f5f34b931d09119e1e5'/>
<id>urn:sha1:2b3a43f4e336d1af90200f5f34b931d09119e1e5</id>
<content type='text'>
Signed-off-by: Dmytro Milinevskyy &lt;milinevskyy@gmail.com&gt;
Acked-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>move default skeleton to fs/ and drop busybox skeleton</title>
<updated>2010-07-18T21:08:55+00:00</updated>
<author>
<name>Dmytro Milinevskyy</name>
<email>milinevskyy@gmail.com</email>
</author>
<published>2010-06-16T20:22:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=d9119c0bc55de95967b3de67be1fc49101a9d896'/>
<id>urn:sha1:d9119c0bc55de95967b3de67be1fc49101a9d896</id>
<content type='text'>
[Peter: fixup patch, adjust for busybox.mk changes]
Signed-off-by: Dmytro Milinevskyy &lt;milinevskyy@gmail.com&gt;
Acked-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>ubifs: fix lzo typo</title>
<updated>2010-07-01T13:35:00+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2010-07-01T13:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=9280cafe308fe4d8706ba2b12e6d5ae464fb8aed'/>
<id>urn:sha1:9280cafe308fe4d8706ba2b12e6d5ae464fb8aed</id>
<content type='text'>
Closes #2155

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>initramfs: update help text</title>
<updated>2010-06-26T05:44:16+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2010-06-25T22:02:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=c2a44f158eedf40be3ab3bc3c76f61fe032d7b34'/>
<id>urn:sha1:c2a44f158eedf40be3ab3bc3c76f61fe032d7b34</id>
<content type='text'>
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>initramfs: only show the option when a Linux kernel is being built</title>
<updated>2010-06-26T05:43:20+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2010-06-25T22:02:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=93e801470981010d8760db372f511e04481182d0'/>
<id>urn:sha1:93e801470981010d8760db372f511e04481182d0</id>
<content type='text'>
Closes #2119

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>linux: add support for initramfs</title>
<updated>2010-06-22T19:20:28+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2010-06-13T17:19:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=f507921d391bb2578261a9e45c003e72302dc67a'/>
<id>urn:sha1:f507921d391bb2578261a9e45c003e72302dc67a</id>
<content type='text'>
In Buildroot, the kernel is built and installed *before* the root
filesystems are built. This allows the root filesystem to correctly
contain the kernel modules that have been installed.

However, in the initramfs case, the root filesystem is part of the
kernel. Therefore, the kernel should be built *after* the root
filesystem (which, in the initramfs case simply builds a text file
listing all files/directories/devices/symlinks that should be part of
the initramfs). However, this isn't possible as the initramfs text
file would lack all kernel modules.

So, the solution choosen here is to keep the normal order: kernel is
built before the root filesystem is generated, and to add a little
quirk to retrigger a kernel compilation after the root filesystem
generation.

To do so, we add a ROOTFS_$(FSTYPE)_POST_TARGETS variable to the
fs/common.mk infrastructure. This allows individual filesystems to set
a target name that we should depend on *after* generating the root
filesystem itself (contrary to normal ROOTFS_$(FSTYPE)_DEPENDENCIES,
on which we depend *before* generating the root filesystem).

The initramfs code in fs/initramfs/initramfs.mk uses this to add a
dependency on 'linux26-rebuild-with-initramfs'.

In linux/linux.mk, we do various things :

 * If BR2_TARGET_ROOTFS_INITRAMFS is enabled (i.e if initramfs is
   enabled as a root filesystem type), then we create an empty
   rootfs.initramfs file (remember that at this point, the root
   filesystem hasn't been generated) and we adjust the kernel
   configuration to include an initramfs. Of course, in the initial
   kernel build, this initramfs will be empty.

 * In the linux26-rebuild-with-initramfs target, we retrigger a
   compilation of the kernel image, after removing the initramfs in
   the kernel sources to make sure it gets properly rebuilt (we've
   experienced cases were modifying the rootfs.initramfs file wouldn't
   retrigger the generation of the initramfs at the kernel level).

This is fairly quirky, but initramfs really is a special case, so in
one way or another, we need a little quirk to solve its specialness.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
