aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-04-02 16:53:07 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-04-02 16:53:07 +0000
commit55af5cf12371af2fb3ad725dd84a0ba2a086964d (patch)
tree63c18428dffa84a846abdfac95c9a862ffe7621d /release/Makefile
parent14a7e8f167d865b0b6190f2f314c3917716672ac (diff)
downloadsrc-55af5cf12371af2fb3ad725dd84a0ba2a086964d.tar.gz
src-55af5cf12371af2fb3ad725dd84a0ba2a086964d.zip
Use xz(1) instead of gzip(1) to compress release images
when WITH_COMPRESSED_IMAGES is used. Requested by: delphij, brooks, Nikolai Lifanov MFC After: 1 week X-MFC-With: r264027,r264028,r264029,r264030 Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=264046
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/Makefile b/release/Makefile
index d7fc432f794a..4c1c9b924323 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -21,7 +21,7 @@
# NOSRC: if set, do not distribute source tree
# NODOC: if set, do not generate release documentation
# WITH_DVD: if set, generate dvd1.iso
-# WITH_COMPRESSED_IMAGES: if set, compress installation images with gzip(1)
+# WITH_COMPRESSED_IMAGES: if set, compress installation images with xz(1)
# (uncompressed images are not removed)
# TARGET/TARGET_ARCH: architecture of built release
#
@@ -96,7 +96,7 @@ IMAGES+= mini-memstick.img
CLEANFILES= packagesystem *.txz MANIFEST system ${IMAGES}
.if defined(WITH_COMPRESSED_IMAGES) && !empty(WITH_COMPRESSED_IMAGES)
. for I in ${IMAGES}
-CLEANFILES+= ${I}.gz
+CLEANFILES+= ${I}.xz
. endfor
.endif
CLEANDIRS= dist ftp release bootonly dvd
@@ -259,7 +259,7 @@ install:
.for I in ${IMAGES}
cp -p ${I} ${DESTDIR}/${OSRELEASE}-${I}
. if defined(WITH_COMPRESSED_IMAGES) && !empty(WITH_COMPRESSED_IMAGES)
- gzip -k ${DESTDIR}/${OSRELEASE}-${I}
+ xz -k ${DESTDIR}/${OSRELEASE}-${I}
. endif
.endfor
cd ${DESTDIR} && sha256 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.SHA256