diff options
author | gjb <gjb@FreeBSD.org> | 2014-04-01 22:41:26 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2014-04-01 22:41:26 +0000 |
commit | 0fbab8558b93b6bbe8454fb106b44ddf90b8bdb2 (patch) | |
tree | cf86a0e3c1820f9dd7dbc14334b447f2a1d64510 /share/man/man7 | |
parent | 7e4afd5dca9c0bf59aea4307406badff8781b109 (diff) | |
download | FreeBSD-src-0fbab8558b93b6bbe8454fb106b44ddf90b8bdb2.zip FreeBSD-src-0fbab8558b93b6bbe8454fb106b44ddf90b8bdb2.tar.gz |
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
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 34bd0cb..71f11b0 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 |