summaryrefslogtreecommitdiffstats
path: root/release/Makefile.vm
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2015-02-17 23:13:45 +0000
committerrpaulo <rpaulo@FreeBSD.org>2015-02-17 23:13:45 +0000
commite0f41bfbfbd0f70be8370a9117257748ce576169 (patch)
tree181c8e7a389a498a40bfe0992ef7294305bb28e2 /release/Makefile.vm
parentf9f2edcf7be769aa5baabff84760d162993abc27 (diff)
downloadFreeBSD-src-e0f41bfbfbd0f70be8370a9117257748ce576169.zip
FreeBSD-src-e0f41bfbfbd0f70be8370a9117257748ce576169.tar.gz
release: use xz via pipe when compressing the tarballs.
libarchive(3) doesn't support the new liblzma API yet, but this change allows us to enable multi-threaded xz compression. ``make release'' should now finish in half the time on a machine with several cores and fast disks (our typical build server). This behaviour only applies when building a release and it doesn't affect buildworld/installworld. To disable threaded xz compression, set XZ_THREADS=1. Reviewed by: gjb Tested by: gjb
Diffstat (limited to 'release/Makefile.vm')
-rw-r--r--release/Makefile.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/Makefile.vm b/release/Makefile.vm
index 34f3166..50365f5 100644
--- a/release/Makefile.vm
+++ b/release/Makefile.vm
@@ -101,7 +101,7 @@ vm-install:
# the DESTDIR.
. for FORMAT in ${VMFORMATS}
# Don't keep the originals. There is a copy in ${.OBJDIR} if needed.
- ${XZCMD} ${XZ_FLAGS} ${DESTDIR}/vmimages/${OSRELEASE}.${FORMAT}
+ ${XZ_CMD} ${DESTDIR}/vmimages/${OSRELEASE}.${FORMAT}
. endfor
. endif
cd ${DESTDIR}/vmimages && sha256 ${OSRELEASE}* > \
OpenPOWER on IntegriCloud