aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2015-03-20 19:40:19 +0000
committerColin Percival <cperciva@FreeBSD.org>2015-03-20 19:40:19 +0000
commit25c11557710ac95084a775bf3a5bdd97dff70c1e (patch)
tree7e1d639597ef636c5b0745b3c01cdd6f6842d7aa /release/scripts
parent4e8058e313b98e3871aa32d507d800c32b3af348 (diff)
downloadsrc-25c11557710ac95084a775bf3a5bdd97dff70c1e.tar.gz
src-25c11557710ac95084a775bf3a5bdd97dff70c1e.zip
When creating VM images, copy the contents of the created filesystem into
a new filesystem before packaging it into a disk image. This prevents "remnants" of deleted files from showing up in the VM images, and reduces their compressed size (by about 10% for the cloudware images) as a result. Looks good to: gjb
Notes
Notes: svn path=/head/; revision=280299
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/mk-vmimage.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/mk-vmimage.sh b/release/scripts/mk-vmimage.sh
index 16c33c8febd6..d5985ceb0d25 100755
--- a/release/scripts/mk-vmimage.sh
+++ b/release/scripts/mk-vmimage.sh
@@ -102,6 +102,7 @@ main() {
vm_extra_pre_umount
vm_extra_pkg_rmcache
cleanup
+ vm_copy_base
vm_create_disk || return 0
vm_extra_create_disk