diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-11-12 18:45:45 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-11-30 11:52:50 +0100 |
commit | 207c596ad7669c6f09bebf83450e20bdba191631 (patch) | |
tree | df6ad86fcc852d1c8d69af50ee4205bc57ee5ba4 /package/bash/bash44-004.patch | |
parent | 9f2ca35998447a8107488925f5f60d371b46f047 (diff) | |
download | buildroot-207c596ad7669c6f09bebf83450e20bdba191631.tar.gz buildroot-207c596ad7669c6f09bebf83450e20bdba191631.zip |
fs/common: get rid of post-target rules
The only users of post-target rules were ext2, cpio and initramfs.
Of those, ext2 and cpio were changed to use post-gen hooks, while
initramfs was not even using the generic rootfs infra and was fixed
to no longer reference post-target rules.
Besides, the comment in the infra was really misleading: it referenced
initramfs implying it was the sole user of that feature, even though
initramfs was not using the fs infra.
Furthermore, using post-target rules was inherently broken for top-level
parallel builds, because filesystems had to ensure the ordering by
themselves. Of the two real users of post-target rules (cpio and ext2),
one did enforce rules ordering (apparently correctly), while the other
forgot to do so.
We can get rid of post-target rules altogether, now.
Add a legacy check, to catch out-of-tree (e.g. br2-external) users of
post-target rules, and instruct them to switch to post-gen hooks instead.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bash/bash44-004.patch')
0 files changed, 0 insertions, 0 deletions