mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-24 12:01:59 +01:00
Race conditions could prevent /tmp/esp.* from being properly unmounted if it was quickly mounted then unmounted. If the umount fails, sleep briefly and then retry. BUG=chromium-os:23442,chromium-os:23443 TEST=Ran build_image --test, saw umount failure but after script finished saw that directory was unmounted on second attempt so no leakage Change-Id: I5b2260f5c99fcfa66027ebcfd69b6e3d5afe4b91 Reviewed-on: https://gerrit.chromium.org/gerrit/12115 Tested-by: Jon Kliegman <kliegs@chromium.org> Reviewed-by: Chris Sosa <sosa@chromium.org> Commit-Ready: Jon Kliegman <kliegs@chromium.org>
Description
Languages
Shell
93%
Python
6.9%