buildroot/support
Yann E. MORIN bb2a57a17a fs: run packages' filesystem hooks in a copy of target/
Currently, some packages may register hooks to be run just before and
just after the generic tarball image is generated, because they need to
prepare the filesystem for read-only or read-write operation.

However, this means that, if any of the hooks or the image generation
fails, the target directory is left in a dangling, inconsistent state.

We fix that by doing a copy of target/, run the hooks on that copy,
generate the generic tarball image out of that, and get rid of the copy.

This way, we can guarantee consistency of the target directory, and we
can even ditch support for post-fs hooks (those that restore target/).

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
..
config-fragments support/config-fragments/autobuild: fix SSP in br-nios2-glibc 2018-03-31 08:49:14 +02:00
dependencies core: kill DEPENDENCIES_HOST_PREREQ 2018-03-25 17:52:06 +02:00
docker support/dockerfile: install flake8 2018-03-13 22:32:36 +01:00
download support/download: svn non-interactive in BR2_SVN 2017-11-26 14:18:57 +01:00
gnuconfig support/gnuconfig: bump version to 2016-05-15 2016-06-05 22:26:57 +02:00
kconfig merge_config.sh: add br2-external support 2018-01-29 14:54:42 +01:00
legal-info legal-info: add hash for our own license file 2017-07-05 16:31:40 +02:00
libtool support/libtool: add patch for newer versions 2014-12-21 13:21:56 +01:00
misc Update for 2018.02 2018-03-04 22:28:34 +01:00
scripts support/check-uniq-files: support weird locales and filenames 2018-03-31 15:32:00 +02:00
testing fs: run packages' filesystem hooks in a copy of target/ 2018-03-31 20:53:06 +02:00