Gentoo Archives: gentoo-portage-dev

From: Markus Duft <mduft@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] prefix portage chaining
Date: Fri, 20 Mar 2009 10:37:01
Message-Id: 000001c9a947$8acf66b0$a06e3410$@org
1 Hey guys :)
3 Just wanted to stop by and get some opinions on a patch i wrote for the
4 prefix branch.
6 i'll try and explain what i want in the first place: i'm porting things
7 to native windows. since windows isn't too cooperative, i'm unable to
8 merge most things (and with other things, i simply don't want to), and
9 thus i need to take those things from somewhere else (more or less the
10 complete @system). I _am_ able to build all those things for interix
11 (which is the host system in the windows case). So what i want is a
12 setup of two prefix instances with a certain relation to each other: the
13 native windows prefix should be able to recognize installed packages
14 from the other instance, and resolve dependencies by eventually using
15 the other .../var/db/...
17 This could be (and is) quite usefull for all other platforms too. For
18 exmaple i could use prefix chaining on a linux box. I could create a
19 prefix containing a base system, and then for testing of
20 i-don't-know-whatever, i could create another small prefix inheriting
21 all installed packages from the other one. this way new prefixes can
22 stay very slim, but still the "parent" prefix is not altered on merges.
24 one issue not handled by the current patch is, that prefixes can have
25 different CHOST/ARCH/... (which is the case with x86-interix and
26 x86-winnt for example).
28 another thing is, that i plan to add some output in the merge list,
29 telling the user, which packages have been readonly-resolved from
30 another portage instance. right now the dependency is treated as if it
31 didn't exist.
33 all together, i'm pretty sure i did the one or the other forbidden thing
34 in my patch, but that's why i'm asking the guys-who-know :) it was hard
35 enough to read the portage source and get where i am, so i'm happy with
36 the result ;)
38 Waiting for comments, suggestions, etc.
40 Thanks in advance,
41 Cheers, Markus


Subject Author
Re: [gentoo-portage-dev] prefix portage chaining Markus Duft <mduft@g.o>
Re: [gentoo-portage-dev] prefix portage chaining Fabian Groffen <grobian@g.o>