Use f_dprintf instead of dialog if the install is non-interactive, this is
needed so bsdinstall can be run without a tty.
Sponsored by: Citrix Systems R&D
bsdinstall: do not use distextract in scripted mode
It requires a tty, which might not be available in scripted installs. Instead
extract the sets manually using tar.
Sponsored by: Citrix Systems R&D
bsdinstall: fetch the sets in the scripted install
Fetch the sets is they are not available in the scripted install case.
Sponsored by: Citrix Systems R&D
bsdinstall: mount is not needed for the ZFS install case
Because the datasets are already mounted by zfsboot, and the mount script
doesn't know anything about ZFS. Also do not execute the "umount" script for
ZFS for the same reasons.
Sponsored by: Citrix Systems R&D
bsdinstall: do not use a dialog in the scripted install error path
Replace the usage of dialog with a f_dprintf instead.
Sponsored by: Citrix Systems R&D