The next steps are most easily done as user
portbuild
.
The following assumes you have already run
mkportbuild
.
As the portbuild
user, run
%
/a/portbuild/tools/addarch arch
For each branch that will be supported, do the following:
Kick-start the build for the branch with
#
build create arch
branch
If you are going to store your historical buildlogs and errorlogs on your head node's hard drive, you may skip this step. Otherwise:
Create an external directory and link to it:
#
mkdir /dumpster/pointyhat/arch
/archive
#
ln -s /dumpster/pointyhat/arch
/archive archive(Historical note that only applied to the original
pointyhat.FreeBSD.org
installation)
It is possible that /dumpster/pointyhat
will not have enough space. In that case, create the archive
directory as
/dumpster/pointyhat/
and symlink to that.arch
/archive
Populate clients
as usual.
Edit portbuild.conf
from one of the ones for another architecture.
addarch
will have created a default
one for you.
Create customized
portbuild.
files as appropriate.machinename
.conf
If you need to create any tunnels:
Make a private configuration directory:
#
mkdir /a/portbuild/conf/arch
In that directory: create any dotunnel.*
scripts needed.
As srcbuild
:
Add arch
to SUPPORTED_ARCHS
in
/a/portbuild/admin/conf/admin.conf
.
Add the arch
directory to
/a/portbuild/admin/scripts/zbackup
.
(This is a hack and should go away.)
Enable the appropriate arch
entry for
/a/portbuild/scripts/dologs
to the portbuild
crontab
. (This is a hack and should go away.)
Again as srcbuild
:
For each branch that will be supported, do the following:
This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/
For questions about FreeBSD, read the
documentation before
contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.