diskimage-builder/lib
James Arendt 12cb94a75d Fix unmount/remove race in cleanup_build_dir
With a slow file system, umount can return 0 and the immediately
following remove can fail with a "Device or resource busy" error.
This happened in DevStack in disk-image-create where unmount_image
is followed by an immediate cleanup_build_dir.

Solution is to apply same logic from bug 1332521 to allow the
remove to retry on failure (up to 5s) in case the umount has not
completed.

Change-Id: I3337e2b4ad0111e77f79dc179439cdfea8ebdeda
Closes-Bug: #1527721
2015-12-17 20:55:02 -08:00
..
common-defaults Add #!/bin/bash to library functions 2015-09-16 13:54:07 +10:00
common-functions Fix unmount/remove race in cleanup_build_dir 2015-12-17 20:55:02 -08:00
die Add #!/bin/bash to library functions 2015-09-16 13:54:07 +10:00
img-defaults Add #!/bin/bash to library functions 2015-09-16 13:54:07 +10:00
img-functions Add #!/bin/bash to library functions 2015-09-16 13:54:07 +10:00
ramdisk-defaults Add #!/bin/bash to library functions 2015-09-16 13:54:07 +10:00
ramdisk-functions Merge "Prevent overwriting of user modified blacklist.conf" 2015-10-05 18:57:01 +00:00