diskimage-builder/diskimage_builder/block_device
Michael Johnson 250aeb5d21 Fix mkfs failure when loop device is not ready
There was a race in diskimage-builder where the mkfs call after a
kpartx -avs for the loop device would fail because the device was
not yet ready.  This adds a udevadm settle call after the kpartx
to make sure the udev event queue has cleared.

Change-Id: I90103b59357edebbac7a641e8980cb282d37561b
Closes-Bug: #1698337
2017-06-17 09:00:13 +10:00
..
level0 Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
level1 Fix mkfs failure when loop device is not ready 2017-06-17 09:00:13 +10:00
level2 Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
level3 Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
level4 Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
tests Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
__init__.py Clear __init__.py from cmd move 2017-05-11 18:52:14 +10:00
blockdevice.py Pass all blockdevices to bootloader 2017-06-08 17:14:22 +10:00
cmd.py Refactor: use lazy logging 2017-05-30 14:39:58 +10:00
config.py Add state to NodeBase class 2017-06-08 17:13:26 +10:00
exception.py Move exception to it's own file (again) 2017-05-20 06:44:39 +00:00
plugin.py Move rollback into NodeBase object 2017-06-08 17:14:20 +10:00
utils.py Refactor mount-point sorting 2017-05-31 11:05:50 +10:00