Download the
freebsd-update-server software by installing devel/subversion
, and execute:
%
svn co http://svn.freebsd.org/base/user/cperciva/freebsd-update-build freebsd-update-server
Update scripts/build.conf
appropriately.
It is sourced during all build operations.
Here is the default build.conf
, which should
be modified to suit your environment.
Parameters for consideration would be:
This is the location where ISO images are downloaded from (by
the Customizations to the | |
The name of the build host. This information will be displayed on updated systems when issuing: % uname -v | |
The SSH key for uploading files to
the update server. A key pair can be created by
typing The ssh-keygen(1) manual page has more detailed information about SSH and the appropriate steps for creating and using one. | |
Account for uploading files to the update server. | |
Directory on the update server where files are uploaded to. |
The default build.conf
file shipped with
the freebsd-update-server sources is
suitable for building i386 releases of FreeBSD. As an example of
building an update server for other architectures, the following steps
outline the configuration changes needed for amd64:
Create a build environment for amd64:
%
mkdir -p /usr/local/freebsd-update-server/scripts/7.2-RELEASE/amd64
Install a build.conf
file in the
newly created build directory. The build configuration
options for FreeBSD 7.2-RELEASE on amd64 should be similar
to:
The sha256(1) hash key for the desired release, is published within the respective release announcement. | |
To generate the "End of Life" number for
% date -j -f '%Y%m%d-%H%M%S' '20090401-000000' '+%s' |
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.