From owner-svn-doc-all@FreeBSD.ORG Mon Nov 19 05:08:07 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 BC087C58; Mon, 19 Nov 2012 05:08:07 +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 9C3AB8FC13; Mon, 19 Nov 2012 05:08:07 +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 qAJ587B8087721; Mon, 19 Nov 2012 05:08:07 GMT (envelope-from linimon@svn.freebsd.org) Received: (from linimon@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAJ5878F087720; Mon, 19 Nov 2012 05:08:07 GMT (envelope-from linimon@svn.freebsd.org) Message-Id: <201211190508.qAJ5878F087720@svn.freebsd.org> From: Mark Linimon Date: Mon, 19 Nov 2012 05:08:07 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40090 - 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: Mon, 19 Nov 2012 05:08:07 -0000 Author: linimon Date: Mon Nov 19 05:08:07 2012 New Revision: 40090 URL: http://svnweb.freebsd.org/changeset/doc/40090 Log: More markup fixes. 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 Mon Nov 19 05:06:05 2012 (r40089) +++ head/en_US.ISO8859-1/articles/portbuild/article.xml Mon Nov 19 05:08:07 2012 (r40090) @@ -760,7 +760,7 @@ PKG_BIN=/usr/local/sbin/pkg - path/qmanager/packagebuild amd64 7-exp 20080904212103 aclock-0.2.3_2.tbz + &prompt.root; path/qmanager/packagebuild amd64 7-exp 20080904212103 aclock-0.2.3_2.tbz @@ -904,8 +904,8 @@ PKG_BIN=/usr/local/sbin/pkgCleaning up a Build To free up resources, you will need to clean up client machines by - running build cleanup command. For example: - &prompt.user; /var/portbuild/scripts/build cleanup i386 8-exp 20080714120411 -full + running build cleanup command. For example: + &prompt.user; /var/portbuild/scripts/build cleanup i386 8-exp 20080714120411 -full If you forget to do this, then the old build jails will not be cleaned up for 24 hours, and no @@ -923,15 +923,15 @@ PKG_BIN=/usr/local/sbin/pkgYou may have problem with the umount commands hanging. If so, you are going to have to use the allgohans script to run an &man.ssh.1; - command across all clients for that buildenv. For example: -ssh gohan24 df + command across all clients for that buildenv. For example: +&prompt.user; ssh gohan24 df - will get you a df, and + will get you a df, and -allgohans "umount -f pointyhat.freebsd.org:/var/portbuild/i386/8-exp/ports" -allgohans "umount -f pointyhat.freebsd.org:/var/portbuild/i386/8-exp/src" +&prompt.user; allgohans "umount -f pointyhat.freebsd.org:/var/portbuild/i386/8-exp/ports" +&prompt.user; allgohans "umount -f pointyhat.freebsd.org:/var/portbuild/i386/8-exp/src" - are supposed to get rid of the hanging mounts. You will have to + are supposed to get rid of the hanging mounts. You will have to keep doing them since there can be multiple mounts. @@ -999,8 +999,8 @@ umount: Cleanup of /x/tmp/8-exp/chroot/5 You can use qclient command to monitor the status of build nodes, and to list the currently scheduled jobs: - python path/qmanager/qclient jobs - python path/qmanager/qclient status + &prompt.user; python path/qmanager/qclient jobs +&prompt.user; python path/qmanager/qclient status The scripts/stats ${branch} @@ -1031,7 +1031,7 @@ umount: Cleanup of /x/tmp/8-exp/chroot/5 directory. The next time the cluster tries to build this port, it will tar, compress, and copy the WRKDIR to - ${arch}/${branch}/wrkdirs. + ${arch}/${branch}/wrkdirs/. If you find that the system is looping trying to build the @@ -1263,7 +1263,7 @@ umount: Cleanup of /x/tmp/8-exp/chroot/5 the package set was transferred successfully, remove the package set that the new package set is to replace (in ~/w/ports/${arch}), - and move the new set into place. (w/ is + and move the new set into place. (w/ is merely a shortcut.) For incremental builds, packages should be uploaded @@ -1428,7 +1428,7 @@ umount: Cleanup of /x/tmp/8-exp/chroot/5 The builds must be performed from the - packages/All directory. This directory should + packages/All directory. This directory should initially be empty except for the Makefile symlink. If this symlink does not exist, it must be created: @@ -1608,12 +1608,13 @@ umount: Cleanup of /x/tmp/8-exp/chroot/5 3.5G on &i386;, PAE). - Required options: + Required options: + options NULLFS -options TMPFS - +options TMPFS - Suggested options: + Suggested options: + options GEOM_CONCAT options GEOM_STRIPE options SHMMAXPGS=65536 @@ -1622,30 +1623,29 @@ options SEMMNS=240 options SEMUME=40 options SEMMNU=120 -options ALT_BREAK_TO_DEBUGGER - +options ALT_BREAK_TO_DEBUGGER For PAE, it is not currently possible to load modules. Therefore, if you are running an architecture - that supports Linux emulation, you will need to add: + that supports Linux emulation, you will need to add: + options COMPAT_LINUX -options LINPROCFS - +options LINPROCFS Also for PAE, as of 20110912 you need - the following. This needs to be investigated: + the following. This needs to be investigated: + nooption NFSD # New Network Filesystem Server options NFSCLIENT # Network Filesystem Client -options NFSSERVER # Network Filesystem Server - +options NFSSERVER # Network Filesystem Server As root, do the usual build steps, e.g.: -make -j4 buildworld -make buildkernel KERNCONF=${kernconf} -make installkernel KERNCONF=${kernconf} -make installworld +&prompt.root; make -j4 buildworld +&prompt.root; make buildkernel KERNCONF=${kernconf} +&prompt.root; make installkernel KERNCONF=${kernconf} +&prompt.root; make installworld The install steps use DESTDIR. @@ -1687,10 +1687,10 @@ options NFSSERVER - Also add the following users: + Also add the following users: + squid:*:100:100::0:0:User &:/usr/local/squid:/bin/sh -ganglia:*:102:102::0:0:User &:/usr/local/ganglia:/bin/sh - +ganglia:*:102:102::0:0:User &:/usr/local/ganglia:/bin/sh Add them to etc/group as well. @@ -1700,9 +1700,8 @@ ganglia:*:102:102::0:0:User &:/usr/l - In etc/crontab: add - * * * * * root /var/portbuild/scripts/client-metrics - + In etc/crontab: add + * * * * * root /var/portbuild/scripts/client-metrics @@ -1713,21 +1712,20 @@ ganglia:*:102:102::0:0:User &:/usr/l - In etc/inetd.conf: add - infoseek stream tcp nowait nobody /var/portbuild/scripts/reportload - + In etc/inetd.conf: add + infoseek stream tcp nowait nobody /var/portbuild/scripts/reportload We run the cluster on UTC. If you have not set the clock to UTC: - cp /usr/share/zoneinfo/Etc/UTC etc/localtime + &prompt.root; cp /usr/share/zoneinfo/Etc/UTC etc/localtime Create the appropriate - etc/rc.conf. (If you are using + /etc/rc.conf. (If you are using pxeboot, and have multiple, different, machines, you will need to put those in the override directories.)