1 |
On Sat, 12 Aug 2006 16:11:25 -0400 Alec Warner <antarus@g.o> |
2 |
wrote: |
3 |
| Ciaran McCreesh wrote: |
4 |
| > On Sat, 12 Aug 2006 13:24:49 -0700 Zac Medico <zmedico@g.o> |
5 |
| > wrote: |
6 |
| > | Currently, portage only allows single inheritance in profiles, but |
7 |
| > | it's easy to enable multiple inheritance. In order to do this, we |
8 |
| > | only need to unconstrain the number of parents allowed in the |
9 |
| > | parent file (only 1 is currently allowed). When a parent file |
10 |
| > | contains multiple parents, parents listed later if the file will |
11 |
| > | have the ability to override those listed earlier in the file. |
12 |
| |
13 |
| I still like Mixin's[1] with node deps ;) |
14 |
|
15 |
You can get the best of both worlds using straight MI, if the profile |
16 |
tree is structured properly. Use the existing hierarchy for the 'main' |
17 |
profile and mixins (nodes with no parent) as extras. The only problem |
18 |
with this is Portage's current reliance upon a single symlink to |
19 |
specify the profile... With Paludis one could do: |
20 |
|
21 |
profiles = default-linux/x86/2006.0 extra/x86/pentium4 extra/misc/cookie |
22 |
|
23 |
but with /etc/make.profile that's not an option... |
24 |
|
25 |
-- |
26 |
Ciaran McCreesh |
27 |
Mail : ciaran dot mccreesh at blueyonder.co.uk |
28 |
|
29 |
|
30 |
-- |
31 |
gentoo-dev@g.o mailing list |