summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2014-10-02 00:34:03 +0000
committergjb <gjb@FreeBSD.org>2014-10-02 00:34:03 +0000
commit470a786adc20ab9d36c046eacc6c2c776d0e3e79 (patch)
tree8fdf7310cba635e4b5a27b6dba180dcf059bc77c /release/Makefile
parent7403b4f22a256bcfea6b3206227339ad68c309c5 (diff)
downloadFreeBSD-src-470a786adc20ab9d36c046eacc6c2c776d0e3e79.zip
FreeBSD-src-470a786adc20ab9d36c046eacc6c2c776d0e3e79.tar.gz
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
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 7d87013..905063b 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}
OpenPOWER on IntegriCloud