Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2026 09:21:12 +0000
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4029e765436f - main - bsdinstall.8: Document DISTRIBUTIONS defaults correctly
Message-ID:  <69e74188.342fd.4bdba266@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=4029e765436ff1633139c1afe1bc25185a0f4ef1

commit 4029e765436ff1633139c1afe1bc25185a0f4ef1
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2026-04-20 15:52:25 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2026-04-21 09:14:14 +0000

    bsdinstall.8: Document DISTRIBUTIONS defaults correctly
    
    Some targets override the default value of DISTRIBUTIONS.
    Document that in the manual page.
    
    Reported by:    Nia Alarie <nia@NetBSD.org>
    Reviewed by:    jlduran
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D56528
---
 usr.sbin/bsdinstall/bsdinstall.8 | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/bsdinstall/bsdinstall.8 b/usr.sbin/bsdinstall/bsdinstall.8
index ee141e1d4296..282b88328e99 100644
--- a/usr.sbin/bsdinstall/bsdinstall.8
+++ b/usr.sbin/bsdinstall/bsdinstall.8
@@ -29,7 +29,7 @@
 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 3, 2025
+.Dd April 20, 2026
 .Dt BSDINSTALL 8
 .Os
 .Sh NAME
@@ -79,6 +79,12 @@ targets.
 .Bl -tag -width "-D file"
 .It Cm auto
 Run the standard interactive installation, including disk partitioning.
+.Pp
+The
+.Ev DISTRIBUTIONS
+environment variable is set to
+.Dq base.txz kernel.txz
+by default for this target.
 .It Cm jail Ar destination
 Sets up a new chroot system at
 .Pa destination ,
@@ -88,12 +94,24 @@ Behavior is generally similar to
 .Cm auto ,
 except that disk partitioning and network setup are skipped and a kernel is
 not installed into the new system.
+.Pp
+The
+.Ev DISTRIBUTIONS
+environment variable is set to
+.Dq base.txz
+by default for this target.
 .It Cm script Ar script
 Runs the installation script at
 .Pa script .
 See
 .Sx SCRIPTING
 for more information on this target.
+.Pp
+The
+.Ev DISTRIBUTIONS
+environment variable is set to
+.Dq base.txz kernel.txz
+by default for this target.
 .It Cm keymap
 If the current controlling TTY is a
 .Xr syscons 4
@@ -305,7 +323,9 @@ Default:
 .Dq Pa /tmp
 .It Ev DISTRIBUTIONS
 The set of distributions to install, e.g., "base.txz kernel.txz ports.txz".
-Default: unset
+Default: unset unless noted otherwise in the
+.Sx TARGETS
+section.
 .It Ev PARTITIONS
 The partitioning of the disk onto which the system is being installed.
 See


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e74188.342fd.4bdba266>