Gentoo Archives: gentoo-dev

From: Jerry A! <jerry@×××××××.org>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Long Time No See
Date: Thu, 05 Apr 2001 12:27:59
Message-Id: 20010405152901.A26819@kabbu.reston.redhat.com
In Reply to: Re: [gentoo-dev] Long Time No See by AGottinger@t-online.de (Achim Gottinger)
1 On Thu, Apr 05, 2001 at 08:44:34PM +0200, Achim Gottinger wrote:
2 : Ok, build.tbz2 contains
3 : glibc-2.2.2/gcc-2.95.3/binutils-2.10.91.0.2/spython/portage and
4 : some other packages that are required for a compile environment.
5 : It requires 55MB at the moment. The idea is to unpack it to a new
6 : partition or a subdir. Then you mount your portage tree on that
7 : locations usr/portage dir (hope you have the portage tree on a
8 : separate partition). Then you can edit the make.conf settings and
9 : chroot to the build environment. Now you can start building everything
10 : from scratch. First you must merge gettext which is required for
11 : native language support by the following packages. Next you can build
12 : and merge binutils and gcc for your host settings. Now you can build
13 : and merge glibc. After that you must merge flex because the package in
14 : the build system does not contains libfl and some headers. Since there
15 : are no other libs in the build tarball as the ones from glibc and flex
16 : you can now be sure that everything is linked agains the new build
17 : libs.
18 :
19 : But in your situation it may cause problems that you do not use
20 : glibc-2.2.2 (what glibc are you using?)
21
22 I was planning on wiping the box and reinstalling from scratch. I would
23 just like to make sure that after a fresh install I can rebuild
24 *everything* with my particular preferences. I was thinking of doing a
25 chicken-egg bootstrap (like so):
26
27 edit make.conf
28 rebuild/reinstall gcc
29 rebuild/reinstall glibc and binutils
30 rebuild/reinstall everything else
31
32 The only problems I see with this setup are how to get glibc and
33 binutils installed. I figure I can just create packages and drop them
34 on top of what's currently there (the contents will be the same, so I
35 don't see a conflict). But I'm wondering if there are cleaner/nicer
36 ways to acheive my goals.
37
38 But it seems like it'll be cleaner to just chroot and make a new
39 build.tbz2 and drop that on top of everything else. Am I mistaken in
40 this assessment?
41
42 --Jerry
43
44 name: Jerry Alexandratos || Open-Source software isn't a
45 phone: 703.599.6023 || matter of life or death...
46 email: jerry@×××××××.org || ...It's much more important
47 || than that!

Replies

Subject Author
Re: [gentoo-dev] Long Time No See AGottinger@t-online.de (Achim Gottinger)