From 6bd8306f08b3a837bbc451eb1f3e8c9cf9e4f5b4 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Sun, 23 May 2010 04:11:34 +0000 Subject: [PATCH] Document the rest of the options of the build command. Fix up the example of the packagebuild command. Add some text about cleaning up builds. Finally, remove some cruft. --- .../articles/portbuild/article.sgml | 85 +++++++++++++++---- 1 file changed, 69 insertions(+), 16 deletions(-) diff --git a/en_US.ISO8859-1/articles/portbuild/article.sgml b/en_US.ISO8859-1/articles/portbuild/article.sgml index b054eb3cc7..e6605f1df4 100644 --- a/en_US.ISO8859-1/articles/portbuild/article.sgml +++ b/en_US.ISO8859-1/articles/portbuild/article.sgml @@ -471,16 +471,10 @@ You may need to manipulate the build data before starting it, especially for experimental builds. This is done with - build command. + the build command. Here are the useful + options for creation: - - build list arch - branch - Shows the current set - of build ids. - - - build create arch branch @@ -529,7 +523,7 @@ package set. This can be accomplished with the following invocation: - /var/portbuild/evil/qmanager/packagebuild amd64 7-exp 20080904212103 aclock-0.2.3_2 + /var/portbuild/evil/qmanager/packagebuild amd64 7-exp 20080904212103 aclock-0.2.3_2.tbz @@ -620,10 +614,33 @@ - + + Build Maintenance + + There are several cases where you will need to manually clean + up a build: + + + + + You have manually interrupted it. + + + + pointyhat has been rebooted while + a build was running. + + + + qmanager has crashed and + has been restarted. + + + + Interrupting a Build - Interrupting a build is a bit messy. First you need to + Manually interrupting a build is a bit messy. First you need to identify the tty in which it's running (either record the output of &man.tty.1; when you start the build, or use ps x to identify it. You need to make sure that nothing else important @@ -646,6 +663,11 @@ processes, they'll keep going (or respawn) until they've built their package. + + + + 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 @@ -697,13 +719,44 @@ umount: Cleanup of /x/tmp/8-exp/chroot/53837/compat/linux/proc failed! dopackages will simply exit. - If you have to do a ports tree update before restarting, you may have to rebuild either duds, - INDEX, or both. If you are doing the latter - manually, you will also have to rebuild - packages/All/Makefile via the - makeparallel script. + INDEX, or both. + + + + + Maintaining builds with the <command>build</command> + command + + Here are the rest of the options for the build + command: + + + + build destroy arch + branch - Destroy the + build id. + + + + + build list arch + branch - Shows the current set + of build ids. + + + + + build upload arch + branch - not yet + implemented. + + + + + +