Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge @system
Date: Tue, 30 Aug 2016 09:26:04
Message-Id: 2841513.JGAUxZ9SRO@peak
In Reply to: Re: [gentoo-user] emerge @system by Alan McKinnon
1 On Tuesday 30 Aug 2016 00:07:53 Alan McKinnon wrote:
2
3 > Don't forget that @system only lives in a context, and the context is a
4 > real computer.
5 >
6 > Out of context it's just a list of strings. In context, it's strings
7 > that means packages, with deps and everything else that needs to be
8 > built for @system to mean anything on the machine it's added to.
9 >
10 > One never needs to define @system, that is already done in a profile so
11 > it's not something that means sense to migrate or re-use elsewhere.
12 > Don't worry about @system, worry about USE and get that right. Emerge
13 > will deal with what it takes to give the user the @system he's really
14 > asking for.
15 >
16 > Or maybe I don't completely understand yet Peter's actual question.
17
18 Hmm. I do seem to have a knack of not saying quite what I mean these days.
19
20 I want to define a minimal set to make sure the tool chain is correct and
21 free of faults, not just up to date, before doing anything else. Then I can
22 use that to build whatever other parts of the system I may be suspicious of.
23 I know that portage will work out a good order of battle, but it assumes
24 correctness in the tool chain: its job is to keep the system current. If
25 there is a problem in the tools, it's going to cause problems when the rest
26 of the system is built.
27
28 Quite a while ago I came across some advice to emerge gcc first, then glibc
29 and libtool, then whatever else is needed (@system, @world etc). I've been
30 doing that, but it does seem a bit minimal. That's why I thought of this
31 sysbase idea.
32
33 You may wonder why I suspect my system at all. The reason is an intermittent
34 series of apparently unrelated things going wrong. This box is only six
35 months old and it contains some very recent hardware, and I'm not quite
36 convinced that I have everything set up just right.
37
38 --
39 Rgds
40 Peter

Replies

Subject Author
Re: [gentoo-user] emerge @system Alan McKinnon <alan.mckinnon@×××××.com>