diff options
author | Glen Barber <gjb@FreeBSD.org> | 2014-04-01 22:41:26 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2014-04-01 22:41:26 +0000 |
commit | cbc0e08a7be92a8a6caf19f900239107d58ddadc (patch) | |
tree | cf86a0e3c1820f9dd7dbc14334b447f2a1d64510 /share/man/man7 | |
parent | 038fc7c63055b66806181a22abf991e5ca943606 (diff) | |
download | src-cbc0e08a7be92a8a6caf19f900239107d58ddadc.tar.gz src-cbc0e08a7be92a8a6caf19f900239107d58ddadc.zip |
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
Notes
Notes:
svn path=/head/; revision=264027
Diffstat (limited to 'share/man/man7')
-rw-r--r-- | share/man/man7/release.7 | 6 |
1 files changed, 6 insertions, 0 deletions
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 |