diff --git a/en_US.ISO8859-1/articles/portbuild/article.xml b/en_US.ISO8859-1/articles/portbuild/article.xml index 8f0e3fb893..fabe76c348 100644 --- a/en_US.ISO8859-1/articles/portbuild/article.xml +++ b/en_US.ISO8859-1/articles/portbuild/article.xml @@ -760,7 +760,7 @@ PKG_BIN=/usr/local/sbin/pkg package set. This can be accomplished with the following invocation: - 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/pkg Cleaning 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/pkg You 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/53837/compat/linux/proc failed! 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/53837/compat/linux/proc failed! 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/53837/compat/linux/proc failed! 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/53837/compat/linux/proc failed! 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/53837/compat/linux/proc failed! 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 # Network Filesystem Server - 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/local/ganglia:/bin/sh - 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/local/ganglia:/bin/sh - 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.)