kumquat-buildroot/fs
Yann E. MORIN 118534fe54 fs: use a common tarball as base for the other filesystems
Currently, some filesystems may want to tweak the content of the target
directory, create special device nodes etc... This all means that:

  - the content of the target directory for a specific filesystems may
    depend on whether another filesystem is enabled or not; for example,
    cpio will create a /init script or symlink and a /dev/console node;

  - the filesystems can not be built in parallel, because they may change
    the content of the target directory while another is being assembled.

Furthermore, the same fakeroot script is executed over-and-over-again
for each filesystem, to create the device nodes, the users and their
homes and files, and setting permissions...

We introduce an intermediate tarball, for which we do the full fakeroot
shebang.

That tarball then serves as the base for the other filesystems, with a
very simple fakeroot script that untars the common tarball, and calls
the actual filesystem image generator on that.

Note that we use a very simple tar command to generate the intermediate
tarball, because we are not concerned with reproducibility of the
archive itself (only of the archived files).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-03-31 20:53:06 +02:00
..
axfs
cloop
cpio fs/cpio: don't extend packages' permissions table 2018-03-31 20:47:25 +02:00
cramfs
ext2
initramfs
iso9660 fs/iso9660: rename internal variable 2018-03-31 20:47:25 +02:00
jffs2
romfs
squashfs
tar package/pkg-generic: handle host-tar as an extract dependency 2018-03-25 17:43:20 +02:00
ubi
ubifs
yaffs2
common.mk fs: use a common tarball as base for the other filesystems 2018-03-31 20:53:06 +02:00
Config.in