aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-10-02 00:34:03 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-10-02 00:34:03 +0000
commita9278c16be29e08dcd2e39ec72c3f686d1a0f37a (patch)
tree8fdf7310cba635e4b5a27b6dba180dcf059bc77c /release/Makefile
parenta2950cc4e3e6730f1d961fe8c56d225034cf5be8 (diff)
downloadsrc-a9278c16be29e08dcd2e39ec72c3f686d1a0f37a.tar.gz
src-a9278c16be29e08dcd2e39ec72c3f686d1a0f37a.zip
Add WITH_COMPRESSED_VMIMAGES variable, which when set enables
xz(1) compression of the virtual machine images. This is intentionally separate to allow more fine-grained tuning over which images are compressed, especially in cases where compressing 20GB sparse images can take hours. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-vmimage/; revision=272392
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile
index 7d87013e2d5a..905063bd3ac5 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -24,6 +24,8 @@
# WITH_COMPRESSED_IMAGES: if set, compress installation images with xz(1)
# (uncompressed images are not removed)
# WITH_VMIMAGES: if set, build virtual machine images with the release
+# WITH_COMPRESSED_VMIMAGES: if set, compress virtual machine disk images
+# with xz(1) (extremely time consuming)
# TARGET/TARGET_ARCH: architecture of built release
#
@@ -301,7 +303,7 @@ install:
cp -p ${VMBASE}.${FORMAT} \
${DESTDIR}/vmimages/${OSRELEASE}.${FORMAT}
. endfor
-. if defined(WITH_COMPRESSED_IMAGES) && !empty(WITH_COMPRESSED_IMAGES)
+. if defined(WITH_COMPRESSED_VMIMAGES) && !empty(WITH_COMPRESSED_VMIMAGES)
# This is very time consuming, so defer it after the images are moved to
# the DESTDIR.
. for FORMAT in ${VMFORMATS}