kumquat-buildroot/support/testing/tests/core
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
..
rootfs-overlay1 support/testing: add core tests 2017-05-07 22:04:54 +02:00
rootfs-overlay2/etc support/testing: add core tests 2017-05-07 22:04:54 +02:00
__init__.py support/testing: add core tests 2017-05-07 22:04:54 +02:00
post-build.sh tests: add test for post-fakeroot script 2018-01-15 21:37:45 +01:00
post-fakeroot.sh tests: add test for post-fakeroot script 2018-01-15 21:37:45 +01:00
post-image.sh tests: add test for post-fakeroot script 2018-01-15 21:37:45 +01:00
test_post_scripts.py fs: run packages' filesystem hooks in a copy of target/ 2018-03-31 20:53:06 +02:00
test_rootfs_overlay.py support/testing: fix code style 2017-10-06 18:56:49 +02:00
test_timezone.py support/testing: fix code style 2017-10-06 18:56:49 +02:00