diskimage-builder/diskimage_builder/block_device
Andreas Florath e4e23897a1 Refactor: block-device filesystem creation, mount and fstab
This patch finalizes the block device refactoring.  It moves the three
remaining levels (filesystem creation, mount and fstab handling) into
the new python module.

Now it is possible to use any number of disk images, any number of
partitions and used them mounted to different directories.

Notes:

 * unmount_dir : modified to only unmount the subdirs mounted by
   mount_proc_sys_dev().  dib-block-device unmounts
   $TMP_MOUNT_PATH/mnt (see I85e01f3898d3c043071de5fad82307cb091a64a9)

Change-Id: I592c0b1329409307197460cfa8fd69798013f1f8
Signed-off-by: Andreas Florath <andreas@florath.net>
Closes-Bug: #1664924
2017-05-12 13:52:02 +02:00
..
level0 Move blockdevicesetupexception.py into blockdevice.py 2017-05-11 15:22:41 +10:00
level1 Refactor: block-device filesystem creation, mount and fstab 2017-05-12 13:52:02 +02:00
level2 Refactor: block-device filesystem creation, mount and fstab 2017-05-12 13:52:02 +02:00
level3 Refactor: block-device filesystem creation, mount and fstab 2017-05-12 13:52:02 +02:00
level4 Refactor: block-device filesystem creation, mount and fstab 2017-05-12 13:52:02 +02:00
tests block_device: reorder imports 2017-05-11 10:38:55 +10:00
__init__.py Clear __init__.py from cmd move 2017-05-11 18:52:14 +10:00
blockdevice.py Refactor: block-device filesystem creation, mount and fstab 2017-05-12 13:52:02 +02:00
cmd.py Remove args from BlockDevice() init 2017-05-12 09:36:23 +10:00
plugin_base.py block_device: reorder imports 2017-05-11 10:38:55 +10:00
tree_config.py Add refactor of tree-like vs graph 2017-05-03 05:27:43 +00:00
utils.py exec_sudo: check cmd for str, log output and raise exception 2017-05-11 09:45:25 +10:00