1 |
Zac Medico wrote: |
2 |
> Some of you may recall that I proposed the addition of multiple |
3 |
> inheritance to profiles a couple of months ago [1]. The idea is to |
4 |
> extend the "parent" file in profiles so that it supports any number |
5 |
> of parents (one per line). Parents listed closer to the bottom of |
6 |
> the file will have the ability to override the settings of those |
7 |
> listed nearer the top of file. |
8 |
> |
9 |
> As of portage-2.1 (included in the 2006.1 release media), portage |
10 |
> will automatically generate an error if it encounters multiple |
11 |
> inheritance (earlier versions would simply ignore anything after the |
12 |
> first parent). As long as users follow the profile updating |
13 |
> instructions [2] and update portage prior to a profile update, they |
14 |
> won't have any trouble. However, if a user has <=portage-2.0* and |
15 |
> fails to follow the upgrade instructions, portage may attempt to |
16 |
> build and install packages without the entire profile being |
17 |
> correctly parsed. |
18 |
> |
19 |
> Should we add multiple inheritance support now? The changes |
20 |
> necessary to add this support are minimal and we can have this |
21 |
> feature in portage-2.1.2 [3], which I estimate will be ready for a |
22 |
> final release in approximately 3 to 5 weeks. |
23 |
|
24 |
Are you proposing just adding the support or creating the new profiles as well? |
25 |
If it's just the support, adding it into portage now certainly won't hurt |
26 |
anything (unless someone really fscks up the current single-parent cascaded |
27 |
profiles in the tree) and is probably a good idea. |
28 |
|
29 |
If you're talking about putting together the new profiles now as well, is it |
30 |
going to be a separate profile tree (much as default-linux/ was created for |
31 |
cascaded profiles)? Will it be directly under profiles/? default-linux/? |
32 |
|
33 |
-- |
34 |
Andrew Gaffney http://dev.gentoo.org/~agaffney/ |
35 |
Gentoo Linux Developer Installer Project |
36 |
Today's lesson in political correctness: "Go asphyxiate on a phallus" |
37 |
-- |
38 |
gentoo-dev@g.o mailing list |