From owner-svn-doc-all@FreeBSD.ORG Fri Dec 28 03:11:48 2012 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68739F7B; Fri, 28 Dec 2012 03:11:48 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4CD148FC13; Fri, 28 Dec 2012 03:11:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBS3Bmha039257; Fri, 28 Dec 2012 03:11:48 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBS3BmD5039256; Fri, 28 Dec 2012 03:11:48 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201212280311.qBS3BmD5039256@svn.freebsd.org> From: Mark Linimon Date: Fri, 28 Dec 2012 03:11:48 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40482 - head/en_US.ISO8859-1/articles/portbuild X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2012 03:11:48 -0000 Author: linimon Date: Fri Dec 28 03:11:47 2012 New Revision: 40482 URL: http://svnweb.freebsd.org/changeset/doc/40482 Log: Fold the pointyhat-zfs-volume sect2 into the portbuild-repo-setup sect2, because a new script tools/mkportbuild helps to automate several of the tasks. Some of the broken whitespace will be fixed in a followup commit. Modified: head/en_US.ISO8859-1/articles/portbuild/article.xml Modified: head/en_US.ISO8859-1/articles/portbuild/article.xml ============================================================================== --- head/en_US.ISO8859-1/articles/portbuild/article.xml Thu Dec 27 14:21:08 2012 (r40481) +++ head/en_US.ISO8859-1/articles/portbuild/article.xml Fri Dec 28 03:11:47 2012 (r40482) @@ -2614,7 +2614,7 @@ sysutils/zfs-stats - Configuring the zfs volume + Configuring the zfs volume and setting up the repository The following steps need to be done as euid root. @@ -2633,11 +2633,13 @@ sysutils/zfs-stats &prompt.root; export ZFS_MOUNTPOINT=/a + Create the zfs volume @@ -2648,8 +2650,10 @@ sysutils/zfs-stats &prompt.root; zpool create ${ZFS_VOLUME} mirror da1 da2 mirror da3 da4 mirror da5 da6 mirror da7 da8 + We will define a zfs @@ -2657,7 +2661,9 @@ sysutils/zfs-stats portbuild user may administer this volume without having to have root privileges. + + Select an svn repository and export it. See the @@ -2676,6 +2683,26 @@ sysutils/zfs-stats + Obtain a copy of the kickstart script into a + temporary directory. (You will not need to keep this + directory later.) + + &prompt.root; mkdir -p /home/portbuild/tmp +&prompt.root; cd /home/portbuild/tmp +&prompt.root; svn checkout ${VCS_REPOSITORY}/base/projects/portbuild/tools tmp + + + + Run the kickstart script: + + &prompt.root; sh /home/portbuild/tmp/mkportbuild + + This will accomplish all the following 4 steps: + + + + + Create the portbuild directory: &prompt.root; mkdir -p ${ZFS_MOUNTPOINT}/portbuild @@ -2700,17 +2727,23 @@ sysutils/zfs-stats of hardcoded paths. This is a bug. + set up the repository: &prompt.user; svn checkout ${VCS_REPOSITORY}/base/projects/portbuild ${ZFS_MOUNTPOINT}/portbuild + + + +