1 |
On 20-03-2009 11:35:09 +0100, Markus Duft wrote: |
2 |
> i'll try and explain what i want in the first place: i'm porting things |
3 |
> to native windows. since windows isn't too cooperative, i'm unable to |
4 |
> merge most things (and with other things, i simply don't want to), and |
5 |
> thus i need to take those things from somewhere else (more or less the |
6 |
> complete @system). I _am_ able to build all those things for interix |
7 |
> (which is the host system in the windows case). So what i want is a |
8 |
> setup of two prefix instances with a certain relation to each other: the |
9 |
> native windows prefix should be able to recognize installed packages |
10 |
> from the other instance, and resolve dependencies by eventually using |
11 |
> the other .../var/db/... |
12 |
|
13 |
Since Windows and Interix seem to be two different things to me, can you |
14 |
explain why in this case Portage can resolve the dependencies from the |
15 |
Interix system to use for the Windows system? What dependencies are we |
16 |
talking about? Build tools? Libraries? Runtime dependencies? |
17 |
|
18 |
> This could be (and is) quite usefull for all other platforms too. For |
19 |
> exmaple i could use prefix chaining on a linux box. I could create a |
20 |
> prefix containing a base system, and then for testing of |
21 |
> i-don't-know-whatever, i could create another small prefix inheriting |
22 |
> all installed packages from the other one. this way new prefixes can |
23 |
> stay very slim, but still the "parent" prefix is not altered on merges. |
24 |
|
25 |
That potentially is useful, in the case where you want to upgrade a |
26 |
critical system package and test it out or something. Can't think of an |
27 |
example other than Portage itself for the moment, though. (And that one |
28 |
can be hairy, for instance if the vdb format changes NEEDED -> |
29 |
NEEDED.ELF.2) |
30 |
|
31 |
> one issue not handled by the current patch is, that prefixes can have |
32 |
> different CHOST/ARCH/... (which is the case with x86-interix and |
33 |
> x86-winnt for example). |
34 |
|
35 |
Then how does it work for you? |
36 |
|
37 |
|
38 |
-- |
39 |
Fabian Groffen |
40 |
Gentoo on a different level |