BSD-2-CLAUSE License
WORK IN PROGRESS. DO NOT USE ON SYSTEMS WITH VALUABLE DATA AS IT MAY OVERWRITE THE CONTENTS OF YOUR DISK. This is a temporary home until this is properly tested and integrated.
INSTALL
Environment variables are the proposed way for communicating back and forth between the installer script and the graphical installer frontend.
INSTALLER_PRINT_MIB_NEEDED=YES
When this is present, the installer must respond with just the number of bytes required on the target disk, e.g., INSTALLER_MIB_NEEDED=2158
. The installer script must write this to stderr and then exit with no further action.
When these are present, the installer script must proceed with the installation with no further questions asked.
INSTALLER_ROOT_PASSWORD
, e.g., p!wrd&ejwH
INSTALLER_USERNAME
, e.g., john
INSTALLER_USER_PASSWORD
, e.g., 797jhejwH
INSTALLER_HOSTNAME
, e.g., johns-computer
INSTALLER_DEVICE
, e.g., da1
INSTALLER_LANGUAGE
, e.g., zh
INSTALLER_COUNTRY
, e.g., CN
INSTALLER_LOCALE_UTF8
, e.g., zh_CN.UTF-8
During installation, the installer script should make liberal use of stdout
and stderr
. These will not be shown to the user by default but may be helpful for debugging.
The installer script must exit with the exit code 0
on success and may use any other exit codes otherwise. If so desired, we can align on different exit codes that can trigger different reactions in the graphical installer frontend.
According to the FreeBSD Trademark Usage Terms and Conditions,
Any individual, organization, or company may, without explicit permission from the Foundation, use the FreeBSD Marks to show support for the Project or as part of a notice to users that a product incorporates the FreeBSD operating system.
Nevertheless an official request has been made to incorporate the FreeBSD logo into the graphical installer frontend, as a means to signal to users that what gets installed is the real FreeBSD system rather than some modified variant of it.