freebsd-skq/release
cperciva e41362f7d1 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
..
amd64 Merge the following revisions from ^/projects/release-vmimage: 2015-01-20 23:56:04 +00:00
arm Crochet sources moved to a new home; update accordingly. 2015-03-25 22:08:02 +00:00
doc Document r279663, qsort(3) enhancements. 2015-03-16 15:54:53 +00:00
i386 Initial rewrite to consolidate VM image build scripts into one. 2014-11-05 13:22:19 +00:00
pc98 Move ^/user/gjb/hacking/release-embedded up one directory, and remove 2014-02-21 03:35:43 +00:00
picobsd do not strip /stand 2015-01-24 08:48:05 +00:00
pkg_repos Move ^/user/gjb/hacking/release-embedded up one directory, and remove 2014-02-21 03:35:43 +00:00
powerpc Use mkimg instead of md(4) and gpart. 2014-05-01 03:24:41 +00:00
scripts When creating VM images, copy the contents of the created filesystem into 2015-03-20 19:40:19 +00:00
sparc64 Move ^/user/gjb/hacking/release-embedded up one directory, and remove 2014-02-21 03:35:43 +00:00
tools Clean up filesystem unmounting in vmimage builds: 2015-03-30 08:33:19 +00:00
Makefile Add 'cloudware-install' target to handle copying cloud 2015-02-24 21:06:25 +00:00
Makefile.vm Add a CLOUDPACKAGE variable to contain a list of targets for 2015-02-24 22:27:02 +00:00
rc.local Create /tmp/bsdinstall_etc even if we aren't starting the installer so that 2014-09-13 20:09:02 +00:00
release.conf.sample Default XZ_THREADS=0, and add to RELEASE_RMAKEFLAGS 2015-02-20 18:51:52 +00:00
release.sh Default XZ_THREADS=0, and add to RELEASE_RMAKEFLAGS 2015-02-20 18:51:52 +00:00