buildroot/fs
Peter Korsgaard 065e7672e1 fs: ensure hard links in TARGET_DIR are correctly copied for filesystem input
Fixes #11046

Commit bb2a57a17a (fs: run packages' filesystem hooks in a copy of target/)
changed the file system logic to run file system hooks from packages on a
copy of TARGET_DIR, and finally use this copy as input for the file system
generation.

This copy was done with rsync, which by default does not preserve hard
links, leading to an expansion of the file system images when hard links are
present.

Fix it by passing the -H option to rsync (preserve hard links).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-05-27 23:46:29 +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/*/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 fs/*/*.mk: fix code style 2018-04-01 08:40:41 +02:00
jffs2 fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
romfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
squashfs fs/squashfs: add zstd support 2018-04-25 23:39:04 +02:00
tar fs/*/Config.in: fix attributes order 2018-04-01 08:52:45 +02:00
ubi fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
ubifs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
yaffs2 fs/yaffs2: fix code style 2018-04-01 07:55:22 +02:00
Config.in fs/ubifs: spin-off ubi to be its own filesystem 2018-01-03 21:57:49 +01:00
common.mk fs: ensure hard links in TARGET_DIR are correctly copied for filesystem input 2018-05-27 23:46:29 +02:00