| @@ -1,22 +1,26 @@ | | | @@ -1,22 +1,26 @@ |
1 | <!-- $NetBSD: bulk.xml,v 1.18 2014/07/16 21:47:10 asau Exp $ --> | | 1 | <!-- $NetBSD: bulk.xml,v 1.19 2014/07/16 21:57:43 asau Exp $ --> |
2 | | | 2 | |
3 | <chapter id="bulk"> | | 3 | <chapter id="bulk"> |
4 | <title>Creating binary packages for everything in pkgsrc (bulk | | 4 | <title>Creating binary packages for everything in pkgsrc (bulk |
5 | builds)</title> | | 5 | builds)</title> |
6 | | | 6 | |
7 | <para>When you have multiple machines that should run the same packages, | | 7 | <para>For a number of reasons you may want to build binary packages |
8 | it is wasted time if they all build their packages themselves from | | 8 | for a large selected set of packages in pkgsrc or even for all pkgsrc packages. |
9 | source. There is a ways of getting a set of binary packages: | | 9 | For instance, when you have multiple machines that should run the same software, |
| | | 10 | it is wasted time if they all build their packages themselves from source. |
| | | 11 | Or you may want to build a list of packages you want and check them before |
| | | 12 | deploying onto production system. |
| | | 13 | There is a way of getting a set of binary packages: |
10 | The bulk build system, or pbulk ("p" stands for "parallel). | | 14 | The bulk build system, or pbulk ("p" stands for "parallel). |
11 | This chapter describes how to set it up so that the packages | | 15 | This chapter describes how to set it up so that the packages |
12 | are most likely to be usable later.</para> | | 16 | are most likely to be usable later.</para> |
13 | | | 17 | |
14 | <sect1 id="bulk.pre"> | | 18 | <sect1 id="bulk.pre"> |
15 | <title>Think first, build later</title> | | 19 | <title>Think first, build later</title> |
16 | | | 20 | |
17 | <para>Since a bulk build takes several days or even weeks to finish, you | | 21 | <para>Since a bulk build takes several days or even weeks to finish, you |
18 | should think about the setup before you start everything. Pay attention | | 22 | should think about the setup before you start everything. Pay attention |
19 | to at least the following points:</para> | | 23 | to at least the following points:</para> |
20 | | | 24 | |
21 | <itemizedlist> | | 25 | <itemizedlist> |
22 | | | 26 | |