From cbc0e08a7be92a8a6caf19f900239107d58ddadc Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Tue, 1 Apr 2014 22:41:26 +0000 Subject: Add a new release build variable, WITH_COMPRESSED_IMAGES. When set to a non-empty value, the installation medium is compressed with gzip(1) as part of the 'install' target in the release/ directory. With gzip(1) compression, downloadable image are reduced in size quite significantly. Build test against head@263927 shows the following: bootonly.iso: 64% smaller disc1.iso: 44% smaller memstick.img: 47% smaller mini-memstick.img: 65% smaller dvd1.iso: untested This option is off by default, I would eventually like to turn it on by default, and remove the '-k' flag to gzip(1) so only compressed images are published on FTP. Requested by: wkoszek MFC After: 1 week Sponsored by: The FreeBSD Foundation --- share/man/man7/release.7 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'share/man/man7') diff --git a/share/man/man7/release.7 b/share/man/man7/release.7 index 34bd0cb58819..71f11b00c867 100644 --- a/share/man/man7/release.7 +++ b/share/man/man7/release.7 @@ -250,6 +250,12 @@ Setting this also sets Set to a non-empty value to include the .Cm dvdrom target. +.It Va WITH_COMPRESSED_IMAGES +Set to a non-empty value to compress the release images with +.Xr gzip 1 . +The original +.Pq uncompressed +images are not removed. .It Va VCSCMD The command run to obtain the source trees. Defaults to -- cgit v1.2.3