Gentoo Archives: gentoo-alt

From: Piergiorgio Beruto <piergiorgio.beruto@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] prefixed gentoo for cross-compile (question)
Date: Thu, 28 Apr 2011 11:51:32
Message-Id: 201104281352.15204.piergiorgio.beruto@gmail.com
In Reply to: Re: [gentoo-alt] prefixed gentoo for cross-compile (question) by Ramon van Alteren
1 Thank you Ramon, I'll try this out.
2
3 Regards,
4 Piergiorgio
5
6 On Wednesday 27 April 2011 17:58:26 Ramon van Alteren wrote:
7 > HI,
8 >
9 > On Wed, Apr 27, 2011 at 13:29, Piergiorgio Beruto
10 >
11 > <piergiorgio.beruto@×××××.com> wrote:
12 > > Oh, one last thing: one of the big issues is about host machines... it
13 > > would be nice if the prefixed Gentoo could be portable across
14 > > different development machines / users. Do you think it's possible to
15 > > have a prefixed gentoo "relocatable"? I mean, I setup my prefixed
16 > > system, then i "tar cvj" the entire system then untar for a different
17 > > user / different machine, "change some config files / environment
18 > > variables" and have my prefixed system work without bootstrapping
19 > > again?
20 >
21 > As long as you do not change the underlying OS, you should be fine(tm)
22 >
23 > That means: I just did this moving from mac-osx laptop1 to mac-osx
24 > laptop2 for a different user.
25 > You need to modify the make.globals file (portage users...) and
26 > usr/lib/portage/pym/portage/const_autotool.py
27 >
28 > After that my prefix based system worked like a charm again, however
29 > YMMV as usual.
30 >
31 > Ramon