kumquat-buildroot/support/testing/tests
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
..
boot testing/tests/boot/test_atf: fix code style 2018-01-29 23:14:24 +01:00
core fs: run packages' filesystem hooks in a copy of target/ 2018-03-31 20:53:06 +02:00
fs core/tests: add test for compressed iso9660 2017-12-31 18:20:14 +01:00
init support/tests: enhance the runtime systemd tests 2018-03-04 21:10:23 +01:00
package test_python_cryptography: fix code style 2018-03-13 22:28:05 +01:00
toolchain support/testing: use more recent toolchains 2017-10-21 19:48:30 +02:00
__init__.py