Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 43724 | Differences between
and this patch

Collapse All | Expand All

(-)hb-install-finalise.xml.old (-7 / +87 lines)
Lines 191-198 Link Here
191
191
192
</body>
192
</body>
193
</subsection>
193
</subsection>
194
</section>
195
<section id="preparing_grp">
196
<title>Optional: Preparing for GRP</title>
194
<subsection>
197
<subsection>
195
<title>Optional: Install GRP Packages</title>
198
<title>Introduction</title>
196
<body>
199
<body>
197
200
198
<impo>
201
<impo>
Lines 202-216 Link Here
202
205
203
<p>
206
<p>
204
Now that your system is booted, log on as the user you created (for instance,
207
Now that your system is booted, log on as the user you created (for instance,
205
<c>john</c>) and use <c>su -</c> to gain root privileges:
208
<c>john</c>), use <c>su -</c> to gain root privileges and create the
209
directory where we store the GRP packages.
206
</p>
210
</p>
207
211
208
<pre caption="Gaining root privileges">
212
<pre caption="Gaining root privileges">
209
$ <i>su -</i>
213
$ <i>su -</i>
210
Password: <comment>(Enter your root password)</comment>
214
Password: <comment>(Enter your root password)</comment>
215
mkdir /usr/portage/packages/All -p
211
</pre>
216
</pre>
212
217
213
<p>
218
<p>
219
If you want to use the prebuilt packages provided by the LiveCD, continue with
220
<uri link="#copying_from_livecd">Copying over the GRP packages</uri>.
221
</p>
222
223
<p>
224
If you want to use the prebuilt packages provided by a Gentoo mirror, continue
225
with <uri link="#grp_downloads">Configuring Portage for GRP Downloads</uri>.
226
</p>
227
228
</body>
229
</subsection>
230
<subsection id="copying_from_livecd">
231
<title>Copying over the GRP packages</title>
232
<body>
233
234
<p>
214
Now we need to copy over the prebuilt binaries from the second CD (CD-2) if you
235
Now we need to copy over the prebuilt binaries from the second CD (CD-2) if you
215
have it. First mount this CD:
236
have it. First mount this CD:
216
</p>
237
</p>
Lines 227-236 Link Here
227
</p>
248
</p>
228
249
229
<pre caption="Copy over prebuilt binaries">
250
<pre caption="Copy over prebuilt binaries">
230
# <i>cp /mnt/cdrom/packages/All/* /usr/portage/packages/All/</i>
251
# <i>cp /mnt/cdrom/All/* /usr/portage/packages/All/</i>
231
</pre>
252
</pre>
232
253
233
<p>
254
<p>
255
Now pay close attention! Your Portage snapshot is in place and the GRP packages
256
are ready to be used. However, Portage doesn't automagically use them unless you
257
tell it to. Luckily, this is hardly difficult: every time you are asked to
258
install a package using <c>emerge</c>, you must add <c>--usepkg</c> as an
259
option:
260
</p>
261
262
<p>
234
Now install the packages you want. CD-2 contains several prebuilt binaries, for
263
Now install the packages you want. CD-2 contains several prebuilt binaries, for
235
instance KDE:
264
instance KDE:
236
</p>
265
</p>
Lines 246-255 Link Here
246
</p>
275
</p>
247
276
248
<p>
277
<p>
249
Be sure to install the binaries now. When you do an <c>emerge sync</c> to update
278
That's all there is to it. Just don't forget to add <c>--usepkg</c>.
250
Portage (as you will learn later), the prebuilt binaries might not match against
279
</p>
251
the ebuilds in your updated Portage. You can try to circumvent this by using
280
252
<c>emerge --usepkgonly</c> instead of <c>emerge --usepkg</c>.
281
<p>
282
Congratulations, your system is now fully equiped! Continue with <uri
283
link="?part=1&amp;chap=12">Where to go from here?</uri> to learn more about
284
Gentoo.
285
</p>
286
287
</body>
288
</subsection>
289
<subsection id="grp_downloads">
290
<title>Configuring Portage for GRP Downloads</title>
291
<body>
292
293
<p>
294
First of all, you need to edit <path>/etc/make.conf</path> and define
295
the <c>PORTAGE_BINHOST</c> variable so that it points to the server from which
296
you want to download the GRP packages. Please check our <uri
297
link="/main/en/mirrors.xml">mirror list</uri> for the available mirrors.
298
</p>
299
300
<pre caption="Editing /etc/make.conf">
301
# <i>nano -w /etc/make.conf</i>
302
</pre>
303
304
<pre caption="Setting the PORTAGE_BINHOST variable">
305
PORTAGE_BINHOST="ftp://some.mirror.com/pub/gentoo/grp/2004/athlon-xp"
306
</pre>
307
308
<p>
309
Save and exit (by pressing Ctrl-X and confirming). With this in place, you must
310
now pay close attention. Portage will not automagically download the GRP
311
packages if you don't instruct it to. However, this isn't hard: every time you
312
are asked to install a package using <c>emerge</c>, you must add
313
<c>--getbinpkg</c> as an option:
314
</p>
315
316
<p>
317
Now install the packages you want. CD-2 contains several prebuilt binaries, for
318
instance KDE:
319
</p>
320
321
<pre caption="Installing KDE">
322
# <i>USE="bindist" emerge --getbinpkg kde</i>
323
</pre>
324
325
<p>
326
The <c>USE="bindist"</c> is needed when you install XFree (either directly or as
327
a dependency). It prevents the downloading of Microsoft's core fonts (which we
328
cannot distribute on our LiveCDs).
329
</p>
330
331
<p>
332
That's all there is to it. Just don't forget to add <c>--getbinpkg</c>.
253
</p>
333
</p>
254
334
255
<p>
335
<p>

Return to bug 43724