Gentoo Archives: gentoo-user

From: Daniel da Veiga <danieldaveiga@×××××.com>
To: gentoo-user@l.g.o
Cc: alon.keren@×××××.com
Subject: Re: [gentoo-user] Creating a LFS system with Portage
Date: Tue, 19 Sep 2006 20:01:49
Message-Id: 342e1090609191254w306ad6b2ja659bd9034d41794@mail.gmail.com
In Reply to: Re: [gentoo-user] Creating a LFS system with Portage by Alon Keren
1 On 9/19/06, Alon Keren <alon.keren@×××××.com> wrote:
2 > Alan McKinnon wrote:
3 > > I'm not sure why you want to do this or what your line of
4 > > reasoning is. A stage 1 gentoo install is very similar to
5 > > building LFS, except that you don't have to type './configure
6 > > && make && sudo make install' 300 times. Well, conceptually
7 > > similar at least.
8 > >
9 > > The whole point of LFS is to do it by hand and see how it all
10 > > works at an even lower level than gentoo provides. You could
11 > > use portage to automate the LFS build process, but then you end
12 > > up with essentially a clone of gentoo. I say this as someone
13 > > who has built an LFS as a learning exercise then moved on to
14 > > gentoo for pragmatic reasons.
15 > >
16 > > Perhaps if you explained why you want to try this and especially
17 > > what you want to accomplish, then we can advise you better.
18 > >
19 >
20 > My aim is to have the ability to regularly build and maintain
21 > completely customized Linux systems. I simply don't want to be
22 > dependent - at any stage - on the whims or habits of a distribution.
23 > While LFS allows me to build a completely customized Linux system, it
24 > takes, as you say, a lot of time and effort to build a single one.
25 > Also, it offers nothing in the sense of package-management.
26 > So, what I'm looking for is something to automate the LFS
27 > build-process and to do it under some system of package-management.
28 > Portage seemls likely to meet those needs.
29
30 ;) You described Gentoo! So I would suggest: "Install Gentoo". Try it,
31 you'll find that the "whims or habits of a distribution" in Gentoo
32 means flexibility and choices, and that appears what you're looking
33 for...
34
35 >
36 > From what I read about stage1 and stage2, they both come as is, which
37 > is somewhat problematic for my needs (for examle, if I want to use one
38 > version of gcc instead of another). Even if stage1 is used 'out of the
39 > box', some mechanism should be in place in order to build a new system
40 > on a chroot environment, no?
41
42 With stage1, you build your system "from scratch" including bootstrap,
43 in fact, having a stage3 rebuild will have the same effect, only that
44 you'll have a running system while you compile... Stage1 provides a
45 basic system, from what you'll start your own system.
46
47 >
48 > The ROOT variable is probably a major part of the solution, but is it
49 > enough? I've also found '/usr/portage/scripts/bootstrap.sh', which
50 > seems suspiciously relevant, but comes with little external
51 > documentation.
52
53 What you need is simply portage, wich is the very heart of Gentoo, and
54 you also want some sort of package management, wich is portage. From
55 what you described, you want Gentoo...
56
57 >
58 > >
59 > > > Please CC me your replies as I'm not subscribed to messages
60 > > > from this list
61 > >
62 > > Nope. Asking that is exceptionally rude. I wade through 200+
63 > > messages per day looking for places I can assist others. The
64 > > least you can do is subscribe to the list like everyone else
65 > > (and how did you manage to post without a subscription?), and
66 > > download the same looking for replies to your question.
67 > > Besides, the answers you get might help someone else.
68 >
69 > I'm sorry that you find my request rude. I would rather not go through
70 > 200 messages every day if I could help it, and I personally don't find
71 > it too troublesome to add an address to the CC line. Replying to the
72 > list and having me as CC will obviously not prevent others to take
73 > place in the discussion or read it later on as reference.
74 > At any case, I would look in online archives to search for any
75 > messages which haven't reached me.
76 >
77 > Alon
78 >
79 >
80 > PS.
81 >
82 > Please CC me your replies as I'm not subscribed to messages from this list
83 > --
84 > gentoo-user@g.o mailing list
85 >
86 >
87
88
89 --
90 Daniel da Veiga
91 Computer Operator - RS - Brazil
92 -----BEGIN GEEK CODE BLOCK-----
93 Version: 3.1
94 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
95 PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
96 ------END GEEK CODE BLOCK------
97 --
98 gentoo-user@g.o mailing list