1 | .Dd Jul 18, 2007 |
---|
2 | .Os Ubuntu |
---|
3 | .ds volume-operating-system Ubuntu |
---|
4 | .Dt GERMINATE\-UPDATE\-METAPACKAGE 1 |
---|
5 | .Sh NAME |
---|
6 | .Nm germinate\-update\-metapackage |
---|
7 | .Nd update a set of metapackages generated from seeds |
---|
8 | .Sh SYNOPSIS |
---|
9 | .Nm |
---|
10 | .Op Fl Fl vcs |
---|
11 | .Op Fl Fl output-directory Ar dir |
---|
12 | .Op Ar dist |
---|
13 | .Sh DESCRIPTION |
---|
14 | .Nm |
---|
15 | assists with the construction and update of |
---|
16 | .Dq metapackages |
---|
17 | (packages consisting solely of a list of dependencies) from a list of seed |
---|
18 | packages. |
---|
19 | It updates binary package stanzas in |
---|
20 | .Pa debian/control |
---|
21 | to reflect the current contents of the seeds, and updates |
---|
22 | .Pa debian/changelog |
---|
23 | with a description of the changes it made. |
---|
24 | .Pp |
---|
25 | .Nm |
---|
26 | requires a configuration file, called |
---|
27 | .Pa update.cfg , |
---|
28 | in the current directory. |
---|
29 | The format is described below. |
---|
30 | .Pp |
---|
31 | If a non-option argument is given, it specifies the distribution for which |
---|
32 | metapackages should be generated (e.g.\& |
---|
33 | .Dq unstable ) . |
---|
34 | .Sh OPTIONS |
---|
35 | .Bl -tag -width 4n |
---|
36 | .It Fl Fl nodch |
---|
37 | Don't modify |
---|
38 | .Pa debian/changelog . |
---|
39 | .It Fl Fl vcs |
---|
40 | Check out seeds from a version control system rather than fetching them |
---|
41 | directly from a URL. |
---|
42 | Requires |
---|
43 | .Ic bzr |
---|
44 | or |
---|
45 | .Ic git , |
---|
46 | as appropriate, to be installed. |
---|
47 | The version control system to use is guessed from the |
---|
48 | .Li seed_base |
---|
49 | URL defined in the configuration file, trying |
---|
50 | .Ic git |
---|
51 | then |
---|
52 | .Ic bzr |
---|
53 | if the URL is ambiguous. |
---|
54 | For |
---|
55 | .Ic git , |
---|
56 | the part after the rightmost |
---|
57 | .Sq \&. |
---|
58 | character of |
---|
59 | .Li seed_dist , |
---|
60 | if any, is treated as the branch name to check out; this rather strange |
---|
61 | style is for backward compatibility. |
---|
62 | .It Fl Fl bzr |
---|
63 | Check out seeds from the |
---|
64 | .Ic bzr |
---|
65 | branch defined in the configuration file rather than fetching them directly |
---|
66 | from the URL defined there. |
---|
67 | Requires |
---|
68 | .Ic bzr |
---|
69 | to be installed. |
---|
70 | This option is deprecated and is retained for backward compatibility; use |
---|
71 | .Fl Fl vcs |
---|
72 | instead. |
---|
73 | .It Xo Fl o , |
---|
74 | .Fl Fl output-directory Ar dir |
---|
75 | .Xc |
---|
76 | Output the package lists in the specified directory. |
---|
77 | .El |
---|
78 | .Sh CONFIGURATION FILE |
---|
79 | .Pa update.cfg |
---|
80 | uses Python's ConfigParser configuration file syntax, supporting |
---|
81 | interpolation as defined by SafeConfigParser. |
---|
82 | It should have a |
---|
83 | .Li DEFAULT |
---|
84 | section with a |
---|
85 | .Li dist |
---|
86 | key indicating the default distribution, and a |
---|
87 | .Ar dist |
---|
88 | section (corresponding to that distribution). |
---|
89 | It may also have a |
---|
90 | .Ar dist Ns Li /vcs |
---|
91 | or |
---|
92 | .Ar dist Ns Li /bzr |
---|
93 | section which can override the |
---|
94 | .Li seed_base |
---|
95 | and |
---|
96 | .Li seed_dist |
---|
97 | values from the |
---|
98 | .Ar dist |
---|
99 | section if the |
---|
100 | .Fl Fl vcs |
---|
101 | or |
---|
102 | .Fl Fl bzr |
---|
103 | option respectively is given. |
---|
104 | For backward compatibility, if |
---|
105 | .Fl Fl vcs |
---|
106 | is given, then |
---|
107 | .Ar dist Ns Li /bzr |
---|
108 | will also be consulted. |
---|
109 | .Pp |
---|
110 | The following keys are recognised in distribution sections: |
---|
111 | .Bl -tag -width 4n |
---|
112 | .It Li seeds No (mandatory) |
---|
113 | Pass these seeds to the germinator for processing. |
---|
114 | .It Li output_seeds No (optional, deprecated) |
---|
115 | Generate metapackages for these seeds. |
---|
116 | If not specified, the value of |
---|
117 | .Li seeds |
---|
118 | is used. |
---|
119 | This option is usually no longer necessary now that the value of |
---|
120 | .Li seeds |
---|
121 | is automatically expanded for seed inheritance. |
---|
122 | .It Li architectures No (mandatory) |
---|
123 | Generate metapackages for these architectures. |
---|
124 | .It Li archive_base/default No (optional) |
---|
125 | Use this URL as the default base for fetching package indices from the |
---|
126 | archive; for examples of valid URLs, see |
---|
127 | .Li deb |
---|
128 | lines in |
---|
129 | .Pa /etc/apt/sources.list , |
---|
130 | or the |
---|
131 | .Ar MIRROR |
---|
132 | argument to |
---|
133 | .Xr debootstrap 8 . |
---|
134 | .It Li archive_base/ Ns Ar arch No (optional) |
---|
135 | Use this URL as the base for fetching package indices from the archive for |
---|
136 | the specified architecture. |
---|
137 | For each architecture being processed, at least one of |
---|
138 | .Li archive_base/default |
---|
139 | and |
---|
140 | .Li archive_base/ Ns Ar arch |
---|
141 | must be present. |
---|
142 | To try multiple URLs, separate them with commas or spaces; |
---|
143 | the newest version of each package across all archives will win. |
---|
144 | Note that |
---|
145 | .Xr debootstrap 8 |
---|
146 | will only use the first archive. |
---|
147 | .It Li seed_base No (mandatory) |
---|
148 | The base URL for fetching seeds. |
---|
149 | To try multiple URLs (for example if a seed branch includes another branch |
---|
150 | stored at a different location), separate them with commas or spaces. |
---|
151 | .It Li seed_dist No (optional) |
---|
152 | The tail of the URL for fetching seeds. |
---|
153 | This will be appended to |
---|
154 | .Li seed_base . |
---|
155 | You will often want to interpolate the value of |
---|
156 | .Li dist |
---|
157 | into this value using ConfigParser's |
---|
158 | .Li %(dist)s |
---|
159 | syntax. |
---|
160 | If not specified, the value of |
---|
161 | .Li dist |
---|
162 | is used. |
---|
163 | .It Li dists No (optional) |
---|
164 | The distributions from which to fetch package indices. |
---|
165 | Listing multiple distributions may be useful, for example, when examining |
---|
166 | both a released distribution and its security updates. |
---|
167 | If not specified, the value of |
---|
168 | .Li dist |
---|
169 | is used. |
---|
170 | .It Li components No (mandatory) |
---|
171 | The archive components from which to fetch package indices. |
---|
172 | .It Li seed_map/ Ns Ar seed No (optional, deprecated) |
---|
173 | The seeds to be used as input for the metapackage corresponding to |
---|
174 | .Ar seed . |
---|
175 | If specified, this will typically be the list of seeds from which |
---|
176 | .Ar seed |
---|
177 | inherits, plus |
---|
178 | .Ar seed |
---|
179 | itself. |
---|
180 | This option is usually no longer necessary; use a |
---|
181 | .Li Task\-Seeds |
---|
182 | header in the seed file instead. |
---|
183 | .It Li metapackage_map/ Ns Ar seed No (optional, deprecated) |
---|
184 | The metapackage name to output for |
---|
185 | .Ar seed . |
---|
186 | If not specified, |
---|
187 | .Nm |
---|
188 | will look for the name of the source package in which it is being run, |
---|
189 | remove "meta" from the end, and append the seed name. |
---|
190 | This option is usually no longer necessary; use a |
---|
191 | .Li Task\-Metapackage |
---|
192 | header in the seed file instead. |
---|
193 | .El |
---|
194 | .Sh EXAMPLE |
---|
195 | At the time of writing, the following configuration file is used to generate |
---|
196 | the |
---|
197 | .Li kubuntu-meta |
---|
198 | source package in the Ubuntu archive: |
---|
199 | .Bd -literal -offset indent |
---|
200 | [DEFAULT] |
---|
201 | dist: wily |
---|
202 | |
---|
203 | [wily] |
---|
204 | seeds: desktop full active |
---|
205 | architectures: i386 amd64 powerpc armhf arm64 ppc64el |
---|
206 | seed_base: http://people.canonical.com/~ubuntu-archive/seeds/ |
---|
207 | seed_dist: kubuntu.%(dist)s |
---|
208 | archive_base/default: http://archive.ubuntu.com/ubuntu/ |
---|
209 | archive_base/ports: http://ports.ubuntu.com/ubuntu-ports/ |
---|
210 | archive_base/powerpc: %(archive_base/ports)s |
---|
211 | archive_base/armhf: %(archive_base/ports)s |
---|
212 | archive_base/arm64: %(archive_base/ports)s |
---|
213 | archive_base/ppc64el: %(archive_base/ports)s |
---|
214 | components: main restricted universe |
---|
215 | |
---|
216 | [wily/bzr] |
---|
217 | seed_base: bzr+ssh://bazaar.launchpad.net/~kubuntu-dev/ubuntu-seeds/ bzr+ssh://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ |
---|
218 | seed_dist: kubuntu.%(dist)s |
---|
219 | .Ed |
---|
220 | .Sh AUTHORS |
---|
221 | .An Gustavo Franco Aq stratus@debian.org |
---|
222 | .An Colin Watson Aq cjwatson@canonical.com |
---|
223 | .Pp |
---|
224 | .An -nosplit |
---|
225 | .Nm |
---|
226 | is copyright \(co 2004, 2005, 2006, 2007, 2008 |
---|
227 | .An Canonical Ltd. |
---|
228 | and |
---|
229 | copyright \(co 2006 |
---|
230 | .An Gustavo Franco . |
---|
231 | See the GNU General Public License version 2 or later for copying |
---|
232 | conditions. |
---|
233 | A copy of the GNU General Public License is available in |
---|
234 | .Pa /usr/share/common\-licenses/GPL . |
---|