kumquat-buildroot/fs
Yann E. MORIN 8a26adddde fs/iso9660: really create initrd temp dir
In case we're using an initrd, we create an empty "root" directory that
will contain only the bootloader stuff, not the actual root filesystem,
because it is in an initrd (standalone or initramfs).

We have to ensure that the directory is empty before assembling the
filesystem (to avoid any file lingering from a previous run, like the
sequence  "make; make"). So we first remove it before we create it, so
that on each build (especially not-from-scratch builds) we get the exact
expected content without any leftover.

However, the macro responsible for that, although defined since 7080eef9,
was never called.

Fix that by registering it as a pre-gen hook.

Note: the directory need not be created, as there are quite a few
"install -D" commands that ensure it is created. Yet, we prefer to
create it explicitly to avoid any confusion.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2017-08-15 17:50:11 +02:00
..
axfs Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
cloop Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
cpio package: indentation cleanup 2014-10-26 05:47:05 +01:00
cramfs Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
ext2 fs/ext2: fix typo 2017-07-29 00:46:13 +02:00
initramfs fs: declare phony targets as such 2015-04-14 10:12:32 +02:00
iso9660 fs/iso9660: really create initrd temp dir 2017-08-15 17:50:11 +02:00
jffs2 fs/jffs2: split commands 2016-06-07 22:21:08 +02:00
romfs Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
squashfs fs/squashfs: cleanup if-else cascade 2017-07-11 22:33:51 +02:00
tar fs/tar: make --no-recursion effective 2016-12-28 10:13:21 +01:00
ubifs Globally replace $(HOST_DIR)/usr/sbin with $(HOST_DIR)/sbin 2017-07-05 15:19:44 +02:00
yaffs2 Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
common.mk fs: add pre- and post-command hooks 2017-08-02 20:58:27 +02:00
Config.in axfs: add new filesystem type 2015-10-14 23:47:30 +02:00