From e0a68f835ec8b6e1d98ab74a070e2d70b95880e1 Mon Sep 17 00:00:00 2001 From: asau Date: Wed, 16 Jul 2014 22:27:17 +0000 Subject: Rewrite bulk build preparation to emphasize more important information for regular users without developer status. Comment developer-only information out so that it doesn't obscure text, it should be put into appendix or at least a separate subsection after main text. --- doc/guide/files/bulk.xml | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) (limited to 'doc/guide') diff --git a/doc/guide/files/bulk.xml b/doc/guide/files/bulk.xml index f75ad745636..a6193f5d00c 100644 --- a/doc/guide/files/bulk.xml +++ b/doc/guide/files/bulk.xml @@ -1,4 +1,4 @@ - + Creating binary packages for everything in pkgsrc (bulk @@ -16,8 +16,32 @@ This chapter describes how to set it up so that the packages are most likely to be usable later.</para> <sect1 id="bulk.pre"> -<title>Think first, build later +Preparations + +First of all, you have to decide whether you build all packages +or a limited set of them. Full bulk builds usually consume a lot more resources, +both space and time, than builds for some practical sets of packages. +There exists a number of particularly heavy packages that are not actually +interesting to a wide audience. + +For a limited bulk builds you need to make a list of packages you want to build. +Note, that all their dependencies will be built, so you don't need to track them manually. + + +During bulk builds various packages are installed and deinstalled +in /usr/pkg (or whatever LOCALBASE is), +so make sure that you don't need any package during the builds. +Essentially, you should provide fresh system, either a chroot environment +or something even more restrictive, depending on what the operating system provides, +or dedicate the whole physical machine. +As a useful side effect this makes sure that bulk builds cannot +break anything in your system. There have been numerous cases where +certain packages tried to install files outside the +LOCALBASE or wanted to edit some files in +/etc. + + -- cgit v1.2.3