1 |
On Tue, Jul 24, 2012 at 08:37:25AM +0200, Fabian Groffen wrote: |
2 |
> The profiles differ, and as Jeremy explained, most of @system packages |
3 |
> are Prefix modified versions. See also: |
4 |
> http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay |
5 |
|
6 |
Right, thanks. |
7 |
|
8 |
> > On Mon, Jul 23, 2012 at 01:11:50PM -0500, Jeremy Olexa wrote: |
9 |
> > > It is also worthwhile to note that the bootstrapping process WRITES to |
10 |
> > > the tree location, thus your permission denied errors. |
11 |
> > |
12 |
> > But… |
13 |
> > |
14 |
> > On Mon, Jul 23, 2012 at 01:32:47PM -0400, W. Trevor King wrote: |
15 |
> > > * Couldn't these profile overrides happen in |
16 |
> > > "${EPREFIX}/etc/portage/profile" (see portage(5))? |
17 |
> |
18 |
> It does this ugly/nasty hack, because environment stuff needs to exist, |
19 |
> uptil the point that you have a sane toolchain. That's about when you |
20 |
> are instructed to run `emerge --sync`, which wipes out these |
21 |
> modifications *on purpose*. The `emerge --sync` hence serves two |
22 |
> reasons, skipping it, or doing it sooner guarantees some problems to |
23 |
> occur. |
24 |
|
25 |
Ah, that makes a lot of sense. However, if I *was* running the prefix |
26 |
tree on my base system (assuming the @system changes were dealt with |
27 |
somehow), I should be able to avoid altering that tree. |
28 |
Alternatively, if I ran a department server where several users had |
29 |
their own prefix, there could be a shared tree in a central location. |
30 |
If a new user wants to start a prefix, they should be able to do so |
31 |
without checking out a new snapshot. If the changes were made under |
32 |
"${EPREFIX}/etc", this would work, then just wipe out the changes |
33 |
instead of calling `emerge --sync` (since presumably the sysadmin had |
34 |
been keeping the prefix tree synced already). |
35 |
|
36 |
Also, in Jeremy's bootstrap-gentoo post [1], I think you need |
37 |
|
38 |
$ ./bootstrap-prefix.sh $EPREFIX latest_tree |
39 |
|
40 |
before |
41 |
|
42 |
$ ./bootstrap-prefix.sh $EPREFIX portage |
43 |
|
44 |
in code listing 1.3, otherwise there's no local tree there to do all |
45 |
this editing on. |
46 |
|
47 |
|
48 |
[1]: http://dev.gentoo.org/~darkside/prefix/gentoo/bootstrap-gentoo.xml |
49 |
|
50 |
-- |
51 |
This email may be signed or encrypted with GnuPG (http://www.gnupg.org). |
52 |
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy |