diskimage-builder/elements/vm
Andreas Florath 3d48a528c1 Refactor: block-device handling (local loop)
Block device handling can be somewhat complex - especially
when taking things like md, lvm or encryption into account.

This patch factors out the creation and deletion of the local
loop image device handling into a python library.

The main propose of this patch is to implement the needed
infrastructure.  Based on this, more advanced functions can be added.
Example: (advanced) partitioning, LVM, handling different boot
scenarios (BIOS, UEFI, ...), possibility of handling multiple images
(local loop image, iSCSI, physical hard disk, ...), handling of
different filesystems for different partitions / LVs.

Change-Id: Ib626b36a00f8a5dc3dbde8df3e2619a2438eaaf1
Signed-off-by: Andreas Florath <andreas@florath.net>
2016-09-08 04:31:01 +00:00
..
finalise.d Split vm and bootloader elements 2015-12-15 20:49:03 +01:00
element-deps Split vm and bootloader elements 2015-12-15 20:49:03 +01:00
README.rst Split vm and bootloader elements 2015-12-15 20:49:03 +01:00

==
vm
==
Sets up a partitioned disk (rather than building just one filesystem with no
partition table).