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 fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
cloop fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
cpio fs/cpio: don't extend packages' permissions table 2018-03-31 20:47:25 +02:00
cramfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
ext2 fs/ext2: add option for lz4 compression 2018-01-08 23:44:04 +01:00
initramfs fs/initramfs: cleanups, enhance comments 2017-11-30 11:50:42 +01:00
iso9660 fs/iso9660: rename internal variable 2018-03-31 20:47:25 +02:00
jffs2 fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
romfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
squashfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
tar package/pkg-generic: handle host-tar as an extract dependency 2018-03-25 17:43:20 +02:00
ubi fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
ubifs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
yaffs2 fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
common.mk fs: use a common tarball as base for the other filesystems 2018-03-31 20:53:06 +02:00
Config.in fs/ubifs: spin-off ubi to be its own filesystem 2018-01-03 21:57:49 +01:00