2 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright (c) 2018 Mateusz Piotrowski <0mp@FreeBSD.org>
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 .Nd "install a boot environment using the current FreeBSD source tree"
37 installs a boot environment using the current
41 also automatically performs
49 automatically in the new boot environment sandbox.
51 Upon successful completion, the system will be ready to boot into the new boot
53 Upon failure, the target boot environment will be destroyed.
54 In all cases, the running system is left untouched
55 and a reboot into a partially updated system
56 (due to install or hardware failure) cannot happen.
57 Additionally, the full installation process requires
58 only one reboot as it is performed
59 in a new boot environment.
62 requires a fully built world and kernel.
65 which is not present in the base system and has to be installed manually.
71 are world and kernel flags like
76 User modifiable variables.
77 Set these in the environment if desired:
78 .Bl -tag -width indent
79 .It Ev BE_UTILITY Pq default: Dq Li "bectl"
80 Utility to manage ZFS boot environments.
83 from the base system or
85 from ports (sysutils/beadm).
86 .It Ev CONFIG_UPDATER Pq default: Dq Li "etcupdate"
90 Set to an empty string to skip.
91 .It Ev ETCUPDATE_FLAGS Pq default: Dq Li "-F"
95 .It Ev NO_PKG_UPGRADE Pq default: Dq Li ""
101 .Bl -tag -width indent
102 .It Sy src/ Ns Pa tools/build/beinstall.sh
105 lives in the src tree.
115 is inspired by and similar in function to
116 Solaris/illumos-style upgrades.
120 manual page first appeared in
125 script was implemented by
126 .An Will Andrews Aq Mt will@FreeBSD.org .
127 This manual page was written by
128 .An Mateusz Piotrowski Aq Mt 0mp@FreeBSD.org .