Michael Marineau e99f088f19 fix(common): Simplify unmount code, die loud and die hard.
As-is safe_umount is extremely dangerous. When passed multiple mount
points and any one of them fail with a "not mounted" or "doesn't exist"
error then any others that fail with a more serious error will be
silently ignored. This can cause untold sadness when running deleting a
chroot with cros_sdk if /mnt/host/source is left mounted, all your code
will be gone. To avoid this situation remove *ALL* this extra logic and
die very loudly when umount fails. Due to the way bind mounts interact
with this code "not mounted" so when unmounting a full tree we need to
still need to gracefully retry when the first umount fails.
2013-07-18 16:59:29 -07:00
2011-08-26 13:04:29 -07:00
2013-07-17 14:27:38 -07:00
2013-01-18 11:40:40 -08:00
2012-08-14 10:17:31 -07:00
Description
image build and composition scripts for Flatcar Container Linux
BSD-3-Clause 177 MiB
Languages
Shell 93%
Python 6.9%