kumquat-buildroot/fs
Yann E. MORIN f023810f04 fs/btrfs: remove destination file before generation
btrfs will happily use an existing destination file if it
already exists, increasing its size if needed. Hoever, it
will never decrease the size, even if the requested size
is smaller than the existing file.

So, remove any previously existing destination file before
generating the new filesystem.

Note: the original submission by Robert did that, but as
this case was not obvious, the removal was dropped by a
refactoring when the patch was initially applied.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Robert J. Heywood <robert.heywood@codethink.co.uk>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas: use $@ instead of $(@), use $(RM) instead of rm.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-08-25 23:59:23 +02:00
..
axfs
btrfs fs/btrfs: remove destination file before generation 2018-08-25 23:59:23 +02:00
cloop
cpio fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
cramfs fs/cramfs: add xip option 2018-04-09 11:29:46 +02:00
ext2 fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
initramfs fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
iso9660
jffs2 fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
romfs
squashfs fs/squashfs: add zstd support 2018-04-25 23:39:04 +02:00
tar
ubi fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
ubifs
yaffs2
common.mk fs: ensure hard links in TARGET_DIR are correctly copied for filesystem input 2018-05-27 23:46:29 +02:00
Config.in fs/btrfs: add support for generating a btrfs image 2018-08-25 14:30:51 +02:00