diff --git a/en_US.ISO8859-1/articles/portbuild/article.xml b/en_US.ISO8859-1/articles/portbuild/article.xml index 033244bf9c..8ee914551e 100644 --- a/en_US.ISO8859-1/articles/portbuild/article.xml +++ b/en_US.ISO8859-1/articles/portbuild/article.xml @@ -2958,56 +2958,43 @@ sysutils/zfs-stats - - Configuring the portbuild volume + + Configuring the zfs volume + + The following steps need to be done as euid root. - Create /a. + Pick a zfs volume name and export + it. We have used a so far to date. + &prompt.root; export ZFS_VOLUME=a + - Create a zfs volume named - a and mount it on - /a. + Pick a mountpoint and export it. We have used + /a so far to date. + &prompt.root; export ZFS_MOUNTPOINT=/a + + + + + Create the mountpoint. + &prompt.root; mkdir -p /a + + + + Create the zfs volume + and mount it. Creating a <application>zfs</application> volume for portbuild -&prompt.root; zpool create a mirror da1 da2 mirror da3 da4 mirror da5 da6 mirror da7 da8 +&prompt.root; zpool create a mirror da1 da2 mirror da3 da4 mirror da5 da6 mirror da7 da8 - - Create the portbuild directory: -&prompt.root; mkdir -p /a/portbuild - - - - - - Create and mount a new zfs - filesystem on it: - zfs create -o mountpoint=/a/portbuild a/portbuild - - - - - Set up the directory: -&prompt.root; cd /a/portbuild -&prompt.root; chown portbuild:portbuild . -&prompt.root; chmod 775 . -&prompt.root; ln -sf /a/portbuild /var/portbuild - - - - - The ln is necessary due to a number - of hardcoded paths. This is a bug. - - - @@ -3017,6 +3004,35 @@ sysutils/zfs-stats + + Create the portbuild directory: +&prompt.root; mkdir -p /a/portbuild + + + + + + Create and mount a new zfs + filesystem on it: + zfs create -o mountpoint=/a/portbuild a/portbuild + + + + + Set up the directory: +&prompt.root; cd /a/portbuild +&prompt.root; chown portbuild:portbuild . +&prompt.root; chmod 775 . +&prompt.root; ln -sf /a/portbuild /var/portbuild + + + + + The ln is necessary due to a number + of hardcoded paths. This is a bug. + + + Set up an account with subversion config files installed. Again, we generally use @@ -3025,7 +3041,7 @@ sysutils/zfs-stats As that user, set up the repository: -&prompt.user; svn checkout svn://svn.freebsd.org/base/projects/portbuild /a/portbuild +&prompt.user; svn checkout svn://svn.freebsd.org/base/projects/portbuild /a/portbuild @@ -3033,7 +3049,7 @@ sysutils/zfs-stats Configure how build slaves will talk to your server by making the following changes to - /var/portbuild/conf/client.conf: + /a/portbuild/conf/client.conf: @@ -3061,14 +3077,14 @@ sysutils/zfs-stats Most of the default values in - /var/portbuild/conf/common.conf + /a/portbuild/conf/common.conf should be fine. This file holds definitions used by both the server and all its clients. Configure the server by making the following changes to - /var/portbuild/conf/server.conf: + /a/portbuild/conf/server.conf: @@ -3086,6 +3102,12 @@ sysutils/zfs-stats SRC_BRANCHES_PATTERN. + + Set ZFS_VOLUME and + ZFS_MOUNTPOINT to whatever you + chose above. + + Set UPLOAD_DIRECTORY, UPLOAD_TARGET, and