diskimage-builder/diskimage_builder/block_device/level1
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
..
__init__.py Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
lvm.py block-device lvm: fix umount phase 2018-06-28 15:21:59 +10:00
mbr.py Sync after writing partition table 2017-06-19 17:13:36 +10:00
partition.py Fix default partition type 2018-03-22 10:10:47 +11:00
partitioning.py GPT partitioning support 2018-02-23 10:04:26 +11:00