freebsd-dev/release/tools
Colin Percival 963412283a Clean up filesystem unmounting in vmimage builds:
* Remove vm_umount_base function which is currently unused.
* Add umount_loop function which loops attempting to unmount one filesystem.
* Replace calls to umount with calls to umount_loop.
* Don't attempt to unmount ${DESTDIR}/dev if it isn't mounted.

The looping is necessary because sometimes umount fails due to filesystems
being busy.  The most common cause of such busyness is periodic(8) jobs
running `find / ...`.

Reviewed by:	gjb
2015-03-30 08:33:19 +00:00
..
arm Merge r262907 from ^/projects/release-embedded: 2014-04-04 07:02:38 +00:00
azure.conf Remove vm_extra_install_base() for the Azure image, now 2015-01-16 15:37:07 +00:00
gce-package.sh Add a CLOUDPACKAGE variable to contain a list of targets for 2015-02-24 22:27:02 +00:00
gce.conf Use ifconfig_DEFAULT="" instead of hard-coding vtnet(4) 2015-02-03 00:10:48 +00:00
openstack.conf Merge the following revisions from ^/projects/release-vmimage: 2015-01-20 23:56:04 +00:00
vmimage.subr Clean up filesystem unmounting in vmimage builds: 2015-03-30 08:33:19 +00:00