aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2026-04-20 15:52:25 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2026-04-21 09:14:14 +0000
commit4029e765436ff1633139c1afe1bc25185a0f4ef1 (patch)
tree1729d42c09ef955bf12db53a82a65aa504615bd6
parent975e3605ebb15cbaf5a25c1c9d1f51aed41291d0 (diff)
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
-rw-r--r--usr.sbin/bsdinstall/bsdinstall.824
1 files 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