Gentoo Archives: gentoo-portage-dev

From: m h <sesquile@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] status of "prefixed" portage (or portage as a secondary package manager)?
Date: Fri, 09 Sep 2005 18:17:40
Message-Id: e36b84ee050909111641c92709@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] status of "prefixed" portage (or portage as a secondary package manager)? by Michael Haubenwallner
1 Michael-
2
3 Thanks for your reply.
4
5 Is it possible to put your complete steps along with links to custom code
6 you've done in the gentoo wiki?
7 I'd very much like to try and replicate what you have done.
8
9 thanks again
10
11 On 9/9/05, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
12 >
13 > Hi Matt,
14 >
15 > m h wrote:
16 > > Hi portage devs-
17 > >
18 > > I've posted similar things to the dev and osx lists, but hear that this
19 > > might be the appropriate forum.
20 > >
21 > > I'm investigating portage as an alternative to openpkg and would like to
22 > > know the status of "prefixed package installs" or "portage as a
23 > > secondary package manager". Here's a link to an 5 week old osx post
24 > > that summarizes the state of things 5 weeks ago:
25 > > http://article.gmane.org/gmane.linux.gentoo.macosx/324
26 >
27 > My current development status on this is not much more than "proof of
28 > concept",
29 > although i had to suspend the work on this project until ~Jan. 2006 due to
30 > some decisions in the company i'm working in.
31 >
32 > But what's already done:
33 >
34 > I imported portage in my own cvs-repo as a vendor branch a few times,
35 > but the last import was at 2005/05/24.
36 >
37 > The SUPPORTS-variable comming out of the GLEP-Thread works, and it's
38 > already
39 > possible to start an 'emerge system' on a non-Gentoo Linux (RH/AS 2.1),
40 > where
41 > 24 packages already merge successfully. I did also some auspicious tries
42 > on
43 > Solaris 2.8.
44 >
45 > To bootstrap the first prefixed portage instance, i've some similar (but
46 > very
47 > reduced featured) package-building-system, which only needs a running
48 > posix-
49 > shell, a GNU-make, some compiler to build binutils/gcc and some coreutils
50 > found
51 > on every *nix. I use this one currently to compile the bunch of our own
52 > (mostly
53 > closed-source) packages on HP-UX/AIX/SunOS/Linux/Cygwin,
54 > but it lacks many useful features found in portage.
55 >
56 > Once there's a running portage in some prefix, this one should be able to
57 > bootstrap another portage instance in a different prefix.
58 >
59 > For the ebuild-tree:
60 > The one i use is a very reduced set of ebuilds initially based on a
61 > gentoo-tree
62 > snapshot as of 20050626.
63 >
64 > I've defined secondary profiles setting a USE-flag 'secondary' (unsure if
65 > really
66 > needed), and made a new sys-apps/baselayout-secondary package providing a
67 > /${AFFIX}etc/profile, which does not just _set_ but _extend_ path-style
68 > env-variables when sourced. This required some additional portage
69 > extensions
70 > to create an /${AFFIX}etc/env.conf to be used by this
71 > /${AFFIX}etc/profile.
72 >
73 > ~haubi
74 >
75 > >
76 > > I'm wondering if anyone is working on this? I potentially have a week
77 > > to try and get something working, but would appreciate some guidance
78 > > (have experience with python and bash but know little of portage
79 > > internals, only have briefly glanced at code and read developer
80 > > documentation).
81 > >
82 > > Comments, thoughts or suggestions?
83 > >
84 > > thanks
85 > >
86 > > matt
87 >
88 > --
89 > Michael Haubenwallner SALOMON Automation GmbH
90 > Forschung & Entwicklung A-8114 Friesach bei Graz
91 > mailto:michael.haubenwallner@×××××××.at http://www.salomon.at
92 > No HTML/MIME please, see http://expita.com/nomime.html
93 > --
94 > gentoo-portage-dev@g.o mailing list
95 >
96 >