aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2014-11-20 00:16:55 +0000
committerColin Percival <cperciva@FreeBSD.org>2014-11-20 00:16:55 +0000
commit3b4252413d2c175ee3678e69c6e8095e57060fee (patch)
tree04f2d20c17bfa15b40736f83e5001e3e7a8f9660 /release/scripts
parent7d97075f02527bcf29318143c2fc3650be79ee07 (diff)
downloadsrc-3b4252413d2c175ee3678e69c6e8095e57060fee.tar.gz
src-3b4252413d2c175ee3678e69c6e8095e57060fee.zip
Unmount filesystem and destroy md before we read the vnode from disk and
package it into a disk image. Otherwise we end up packaging an unclean filesystem.
Notes
Notes: svn path=/projects/release-vmimage/; revision=274729
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/mk-vmimage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/mk-vmimage.sh b/release/scripts/mk-vmimage.sh
index 05a64cc3f92b..bf0e1325dde7 100755
--- a/release/scripts/mk-vmimage.sh
+++ b/release/scripts/mk-vmimage.sh
@@ -100,9 +100,9 @@ main() {
vm_extra_install_ports
vm_extra_enable_services
vm_extra_pre_umount
+ cleanup
vm_create_disk || return 0
vm_extra_create_disk
- cleanup
return 0
}