From owner-svn-src-all@freebsd.org Fri Mar 13 13:45:28 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E6ED6260D37; Fri, 13 Mar 2020 13:45:28 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48f6Qc12qhz40Zm; Fri, 13 Mar 2020 13:45:28 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E9C9D70A0; Fri, 13 Mar 2020 13:45:27 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02DDjRPg012116; Fri, 13 Mar 2020 13:45:27 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02DDjRRg012115; Fri, 13 Mar 2020 13:45:27 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202003131345.02DDjRRg012115@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Fri, 13 Mar 2020 13:45:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r358958 - stable/12/usr.sbin/bsdinstall X-SVN-Group: stable-12 X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: stable/12/usr.sbin/bsdinstall X-SVN-Commit-Revision: 358958 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2020 13:45:29 -0000 Author: 0mp (doc,ports committer) Date: Fri Mar 13 13:45:27 2020 New Revision: 358958 URL: https://svnweb.freebsd.org/changeset/base/358958 Log: MFC 357638: Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D24063 Improve documentation of bootconfig and PARTITIONS - Mention bootconfig target in TARGETS section. - Document PARTITIONS variable, which is only mentioned in the examples, but doesn't have its own point. Submitted by: arrowd@ Reviewed by: bcr Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D22927 Modified: stable/12/usr.sbin/bsdinstall/bsdinstall.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.sbin/bsdinstall/bsdinstall.8 ============================================================================== --- stable/12/usr.sbin/bsdinstall/bsdinstall.8 Fri Mar 13 13:23:28 2020 (r358957) +++ stable/12/usr.sbin/bsdinstall/bsdinstall.8 Fri Mar 13 13:45:27 2020 (r358958) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 21, 2019 +.Dd February 6, 2020 .Dt BSDINSTALL 8 .Os .Sh NAME @@ -118,6 +118,8 @@ is set, also configures the network interfaces of the Provides the installer's interactive guided disk partitioner for single-disk installations. Defaults to UFS. +.It Cm bootconfig +Detects an appropriate partition and installs UEFI boot loader files. .It Cm zfsboot Provides an alternative ZFS-only automatic interactive disk partitioner. Creates a single @@ -262,6 +264,15 @@ overridden when making scripted or customized installe .It Ev DISTRIBUTIONS The set of distributions to install, e.g., "base.txz kernel.txz ports.txz". Default: unset +.It Ev PARTITIONS +The partitioning of the disk onto which the system is being installed. +See +.Cm scriptedpart +of +the +.Sx TARGETS +section for format details. +Default: unset .It Ev BSDINSTALL_DISTDIR The directory in which the distribution files can be found (or to which they should be downloaded). @@ -439,6 +450,7 @@ PARTITIONS=ada0 DISTRIBUTIONS="kernel.txz base.txz" #!/bin/sh +gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0 sysrc ifconfig_em0=DHCP sysrc sshd_enable=YES pkg install puppet