beinstall.sh
installs a boot environment using the current
FreeBSD
source tree.
beinstall.sh
also automatically performs
/etc
updates
(using either
etcupdate(8)
or
mergemaster(8))
and
package updates using
pkg-upgrade(8)
automatically in the new boot environment sandbox.
Upon successful completion, the system will be ready to boot into the new boot
environment.
Upon failure, the target boot environment will be destroyed.
In all cases, the running system is left untouched
and a reboot into a partially updated system
(due to install or hardware failure) cannot happen.
Additionally, the full installation process requires
only one reboot as it is performed
in a new boot environment.
beinstall.sh
requires a fully built world and kernel.
It also requires
beadm(1)
and
pkg(8),
which are not present in the base system and have to be installed manually.
The
options
provided to
beinstall.sh
are world and kernel flags like
KERNCONF
as described in
build(7).