1 |
On Tue, Mar 23, 2004 at 01:57:06PM -0600, Joseph Booker wrote: |
2 |
> |
3 |
> Mike Frysinger said: |
4 |
> > what if he wants to crosscompile |
5 |
> > -mike |
6 |
> |
7 |
> ENVIRONMENT OPTIONS |
8 |
> ROOT = [path] |
9 |
> Use ROOT to specify the target root filesystem to be |
10 |
> used for merging packages or ebuilds. Defaults to /. |
11 |
> |
12 |
> |
13 |
> for merging the packages..........$ROOT sounds like to me (and I havn't |
14 |
> checked) that when an emerge is done, when it 'merges' /..../image with /, |
15 |
> it insteads merges it with $ROOT, for example, if $ROOT was /usr, then all |
16 |
> the files installed in /etc would to got /usr/etc, all in /usr/bin goto |
17 |
> /usr/usr/bin, etc. |
18 |
|
19 |
I have use $ROOT quite extensively. I can vouch for it's working in |
20 |
this fashion, the only time it doesn't produce expected results is |
21 |
specific checks in ebuilds. Some ebuilds will check for a library(in |
22 |
the actual ebuild, not a configure script, ex: perl checks for |
23 |
libperl) and the check will be done on / not $ROOT So if the |
24 |
file/library required exists on $ROOT but not / the build fails. |
25 |
|
26 |
-- |
27 |
gentoo-dev@g.o mailing list |