diskimage-builder/diskimage_builder/block_device/tests
Andreas Florath f5736f3178 block-device lvm: fix umount phase
As described in blockdevice.py detachment and (most) resources
release must be done in the umount phase of a block device module.

Until now these jobs were done in the lvm cleanup() phase - which
is too late - especially when using nested LVMs.

This patch moves the functionality of the cleanup() phase to the
umount() phase for the lvm module.
It includes a test case that fails without applying the provided
source code changes.

Change-Id: I697bfbf042816c5ddf170bde9534cc4f0c7279ff
Signed-off-by: Andreas Florath <andreas@florath.net>
2018-06-28 15:21:59 +10:00
..
config GPT partitioning support 2018-02-23 10:04:26 +11:00
plugin Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
__init__.py Refactor: block-device handling (local loop) 2016-09-08 04:31:01 +00:00
test_base.py Add state object, rename "results", add unit tests 2017-05-30 20:39:00 +10:00
test_config.py Move global mount tracking into state 2017-06-08 17:13:28 +10:00
test_gpt.py GPT partitioning support 2018-02-23 10:04:26 +11:00
test_lvm.py block-device lvm: fix umount phase 2018-06-28 15:21:59 +10:00
test_mbr.py Allow users to specify partition type in the MBR PTE 2017-07-29 06:34:25 -04:00
test_mkfs.py Use global state to check for duplicate fs labels 2017-06-08 17:13:28 +10:00
test_mount_order.py Convert labels to upper case 2018-06-19 11:12:54 +02:00
test_state.py Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
test_utils.py Move "functional" unit tests under block-device 2017-06-05 12:22:52 +10:00